1. Ben Bangert
  2. WebHelpers


WebHelpers / docs / modules / html / builder.rst



Described above.


The markupsafe package has a function soft_unicode which converts a string to Unicode if it's not already. Unlike the Python builtin unicode(), it will not convert Markup (literal) to plain Unicode, to avoid overescaping. This is not included in WebHelpers but you may find it useful.