{{py: from mapproxy.compat.modules import escape import textwrap wrapper = textwrap.TextWrapper(replace_whitespace=False, width=90, break_long_words=False) def strip(s): return s.split('/')[1] menu_title = "WMS %s %s" % (layer.name,srs) jscript_functions=None }} {{def jscript_openlayers}} {{enddef}}
{{for line in jscript_openlayers().split('\n')}} {{escape(wrapper.fill(line))}} {{endfor}}