File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,12 @@ This module defines utilities to manipulate HTML.
14
14
15
15
Convert the characters ``& ``, ``< `` and ``> `` in string *s * to HTML-safe
16
16
sequences. Use this if you need to display text that might contain such
17
- characters in HTML. If the optional flag *quote * is true, the characters
18
- (``" ``) and (``' ``) are also translated; this helps for inclusion in an HTML
19
- attribute value delimited by quotes, as in ``<a href="..."> ``.
17
+ characters in HTML. If the optional flag *quote * is true (the default), the
18
+ characters (``" ``) and (``' ``) are also translated; this helps for inclusion
19
+ in an HTML attribute value delimited by quotes, as in ``<a href="..."> ``.
20
+ If *quote * is set to false, the characters (``" ``) and (``' ``) are not
21
+ translated.
22
+
20
23
21
24
.. versionadded :: 3.2
22
25
You can’t perform that action at this time.
0 commit comments