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
Hi. I think I found a bug. With Hugo 0.78.2 and minify HTML option enabled (default minification settings), it minifies the following:
<h1 translate="no">Navigation</h1>
to:
<h1 translate>Navigation</h1>
which doesn't work as expected. Translate="no" is a HTML5 attribute and is used on the new Safari to tell the browser not to auto-translate a particular div/span etc. - useful for product/brand names etc. REF: https://html.spec.whatwg.org/multipage/dom.html#the-translate-attribute
I hope this could be fixed so that it'd be minified to:
<h1 translate=no>Navigation</h1>
The text was updated successfully, but these errors were encountered:
db38345
Thanks! This should be fixed, please let me know if you still run into trouble.
Sorry, something went wrong.
No branches or pull requests
Hi. I think I found a bug. With Hugo 0.78.2 and minify HTML option enabled (default minification settings), it minifies the following:
to:
which doesn't work as expected. Translate="no" is a HTML5 attribute and is used on the new Safari to tell the browser not to auto-translate a particular div/span etc. - useful for product/brand names etc.
REF: https://html.spec.whatwg.org/multipage/dom.html#the-translate-attribute
I hope this could be fixed so that it'd be minified to:
The text was updated successfully, but these errors were encountered: