From: Matheus Felipe Date: Thu, 1 Dec 2022 04:31:40 +0000 (-0300) Subject: Add link to MarkupSafe in FAQ X-Git-Tag: 3.1.5~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1767%2Fhead;p=thirdparty%2Fjinja.git Add link to MarkupSafe in FAQ --- diff --git a/docs/faq.rst b/docs/faq.rst index 493dc38c..a53ae12f 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -70,6 +70,8 @@ these document types. While automatic escaping means that you are less likely have an XSS problem, it also requires significant extra processing during compiling -and rendering, which can reduce performance. Jinja uses MarkupSafe for +and rendering, which can reduce performance. Jinja uses `MarkupSafe`_ for escaping, which provides optimized C code for speed, but it still introduces overhead to track escaping across methods and formatting. + +.. _MarkupSafe: https://markupsafe.palletsprojects.com/