From e6ba04a67ca8c0a13240e796b84773dd78ef3631 Mon Sep 17 00:00:00 2001 From: Henri Sivonen Date: Thu, 2 Sep 2021 11:17:32 +0000 Subject: [PATCH] Conform ampersand error reporting to HTML spec. Created by inlining the `AMBIGUOUS_AMPERSAND` state in https://github.com/validator/htmlparser/pull/30 back into the states that transitioned to `AMBIGUOUS_AMPERSAND` in that PR by Michael(tm) Smith. Differential Revision: https://phabricator.services.mozilla.com/D81992 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1153920 gecko-commit: f8b2924ea4a38468908d5f243afb1df7a1f99014 gecko-reviewers: smaug --- html/syntax/parsing/ambiguous-ampersand.html | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 html/syntax/parsing/ambiguous-ampersand.html diff --git a/html/syntax/parsing/ambiguous-ampersand.html b/html/syntax/parsing/ambiguous-ampersand.html new file mode 100644 index 00000000000000..e6d5a822159755 --- /dev/null +++ b/html/syntax/parsing/ambiguous-ampersand.html @@ -0,0 +1,36 @@ + + +Ambiguous ampersand + + +
Link

Text: ?a=b&c=d&a0b=c©=1¬i=n¬=in¬in=∉¬&;& &

+ + +