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
For this example: <!-- ....... --> <html> ..... </html>
<!--
.......
-->
<html>
.....
</html>
This comments in html length is large than 1024.
The text was updated successfully, but these errors were encountered:
This comment part larger than 1024 bytes
Sorry, something went wrong.
/cc @nigeltao
This is working as intended. http://godoc.org/golang.org/x/net/html/charset#DetermineEncoding says that DetermineEncoding determines the encoding of an HTML document by examining up to the first 1024 bytes of content and the declared Content-Type. See http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#determining-the-character-encoding and that spec says "The authoring conformance requirements for character encoding declarations limit them to only appearing in the first 1024 bytes."
No branches or pull requests
For this example:
<!--
.......
-->
<html>
.....
</html>
This comments in html length is large than 1024.
The text was updated successfully, but these errors were encountered: