From a2e79eefc9e13c48e5c44f1eb0c1d69b55bbf79a Mon Sep 17 00:00:00 2001 From: Chenwei Xiao Date: Sun, 7 Nov 2021 10:09:37 +0800 Subject: [PATCH] Correct the actual unescaped character MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `»` should be unescaped to `»` after `striptags`. Ref: https://flask.palletsprojects.com/en/2.0.x/api/#flask.Markup.striptags --- docs/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 9bddbfc0..e07e8dbf 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -468,7 +468,7 @@ Here is a basic introduction to how the :class:`~markupsafe.Markup` class works: >>> Markup.escape('hacker') Markup('<blink>hacker</blink>') >>> Markup('Marked up » HTML').striptags() - 'Marked up \xbb HTML' + 'Marked up » HTML' .. versionchanged:: 0.5