From f502aac8dcc743f221f3c5ae131d8722135c349f Mon Sep 17 00:00:00 2001 From: Matheus Felipe Date: Thu, 1 Dec 2022 01:31:40 -0300 Subject: [PATCH] Add link to MarkupSafe in FAQ --- docs/faq.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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/ -- 2.47.2