soft_unicode

Function defined in jinja2._markupsafe._native

soft_unicode(s)

Make a string unicode if it isn’t already. That way a markup string is not converted back to unicode.

Previous topic

escape_silent

Next topic

jinja2._markupsafe.tests