mirror of https://github.com/pallets/flask.git
Correct the actual unescaped character
`»` should be unescaped to `»` after `striptags`. Ref: https://flask.palletsprojects.com/en/2.0.x/api/#flask.Markup.striptags
This commit is contained in:
parent
7a5aa570c0
commit
a2e79eefc9
|
@ -468,7 +468,7 @@ Here is a basic introduction to how the :class:`~markupsafe.Markup` class works:
|
|||
>>> Markup.escape('<blink>hacker</blink>')
|
||||
Markup('<blink>hacker</blink>')
|
||||
>>> Markup('<em>Marked up</em> » HTML').striptags()
|
||||
'Marked up \xbb HTML'
|
||||
'Marked up » HTML'
|
||||
|
||||
.. versionchanged:: 0.5
|
||||
|
||||
|
|
Loading…
Reference in New Issue