Merge pull request #4332 from vinzid/patch-1

Correct the actual unescaped character
This commit is contained in:
David Lord 2021-11-07 06:20:43 -08:00 committed by GitHub
commit 86009452fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -468,7 +468,7 @@ Here is a basic introduction to how the :class:`~markupsafe.Markup` class works:
>>> Markup.escape('<blink>hacker</blink>')
Markup('&lt;blink&gt;hacker&lt;/blink&gt;')
>>> Markup('<em>Marked up</em> &raquo; HTML').striptags()
'Marked up \xbb HTML'
'Marked up » HTML'
.. versionchanged:: 0.5