-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix encoding of the escaped html safe string
`escape_html_as_html_safe` was returning binary strings which will infect all the UTF-8 strings in our view layer. This patch tags the return string with the encoding of the source string so that we're not eventually forcing everything to be binary.
- Loading branch information
1 parent
cee664d
commit 10098de
Showing
2 changed files
with
25 additions
and
0 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