-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
html: properly handle exclamation marks in comments
Properly handle the case where HTML comments begin with exclamation marks and have no other content, i.e. "<!--!-->". Previously these comments would cause the tokenizer to consider everything following to also be considered part of the comment. Fixes golang/go#37771 Change-Id: I78ea310debc3846f145d62cba017055abc7fa4e0 Reviewed-on: https://go-review.googlesource.com/c/net/+/442496 Run-TryBot: Roland Shoemaker <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Damien Neil <[email protected]>
- Loading branch information
1 parent
da05058
commit 430a433
Showing
2 changed files
with
34 additions
and
19 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