Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop-in html.escape in place of cgi.escape for python3.2+ (#1513)
Fix #1330 Define `escape_html` function with signature same as for `cgi.escape` and `html.escape` having `quote=False` default param.
- Loading branch information
1 parent
98e4711
commit c65dc27
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters