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 SafeData No class docstring; 0/1 class variable, 1/1 method documented
Class SafeString 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.
Function _safety_decorator Undocumented

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): (source)

Undocumented