module documentation

Functions for working with "safe strings": strings that can be displayed safely without further escaping in HTML. Marking something as a "safe string" means that the producer of the string has already turned characters that should not be interpreted by the HTML engine (e.g. '<') into the appropriate entities.
Class ​Safe​String A str subclass that has been specifically marked as "safe" for HTML output purposes.
Function mark​_safe Explicitly mark a string as safe for (HTML) output purposes. The returned object can be used everywhere a string is appropriate.
Class ​Safe​Data No class docstring; 1/1 method documented
Function ​_safety​_decorator Undocumented
def mark_safe(s):

Explicitly mark a string as safe for (HTML) output purposes. The returned object can be used everywhere a string is appropriate.

If used on a method as a decorator, mark the returned data as safe.

Can be called multiple times on a single string.

def _safety_decorator(safety_marker, func):

Undocumented