Skip to content

Commit

Permalink
Correct the actual unescaped character
Browse files Browse the repository at this point in the history
`»` should be unescaped to `»` after `striptags`.

Ref: https://flask.palletsprojects.com/en/2.0.x/api/#flask.Markup.striptags
  • Loading branch information
vinzid committed Nov 7, 2021
1 parent 7a5aa57 commit a2e79ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a2e79ee

Please sign in to comment.