Skip to content
Myr

Add link to MarkupSafe in FAQ

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Matheus Felipe · committed by David Lord · parent d3d0910 · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:docs/faq.rst+3 added-1 removed
68 unmodified lines
69these document types.7071While automatic escaping means that you are less likely have an XSS72problem, it also requires significant extra processing during compiling73and rendering, which can reduce performance. Jinja uses MarkupSafe for73and rendering, which can reduce performance. Jinja uses `MarkupSafe`_ for74escaping, which provides optimized C code for speed, but it still75introduces overhead to track escaping across methods and formatting.7677.. _MarkupSafe: https://markupsafe.palletsprojects.com/