We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run the code in jupyter:
from IPython.display import display, HTML import minify_html s = ''' <div id="foo">aaaa</div> <script> document.getElementById("foo").innerText = "\\u4f60\\u597d"; </script> ''' display(HTML(s)) display(HTML(minify_html.minify(s.replace("foo", "bar"), minify_js=True, keep_closing_tags=True)))
Expected: display chinese text 你好 Actual: \u4f60\u597d
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Run the code in jupyter:
Expected: display chinese text 你好
Actual: \u4f60\u597d
The text was updated successfully, but these errors were encountered: