Skip to content
Myr

Correct the actual unescaped character

Before adoption: this commit came in with the history the project adopted, so no landing records it.

`»` should be unescaped to `»` after `striptags`.

authored by Chenwei Xiao · committed by Chanvin Xiao · parent 7a5aa57 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Ref: https://flask.palletsprojects.com/en/2.0.x/api/#flask.Markup.striptags

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/quickstart.rst+1 added-1 removed
466 unmodified lines
467 Markup('<strong>Hello &lt;blink&gt;hacker&lt;/blink&gt;!</strong>')468 >>> Markup.escape('<blink>hacker</blink>')469 Markup('&lt;blink&gt;hacker&lt;/blink&gt;')470 >>> Markup('<em>Marked up</em> &raquo; HTML').striptags()471 'Marked up \xbb HTML'471 'Marked up » HTML'472473.. versionchanged:: 0.5474475 Autoescaping is no longer enabled for all templates. The following
463 unmodified lines