Closed Conengmo closed 1 year ago
Fix https://github.com/python-visualization/branca/issues/111
Currently the caption of a colormap is not escaped, which means it breaks when an apostrophe is included.
Use Jinja2's tojson to convert to an escaped string.
tojson
Fix https://github.com/python-visualization/branca/issues/111
Currently the caption of a colormap is not escaped, which means it breaks when an apostrophe is included.
Use Jinja2's
tojson
to convert to an escaped string.