test-documentation: Clean up fixed HTML validation ignore patterns.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-04-30 15:23:28 -07:00 committed by Anders Kaseorg
parent da8763d889
commit bf447a726f
2 changed files with 0 additions and 7 deletions

View File

@ -1,8 +1,3 @@
# Real errors that should be fixed.
# https://github.com/readthedocs/sphinx_rtd_theme/pull/961
Attribute “alt” not allowed on element “a” at this point\.
# Warnings that are probably less important.
The “type” attribute is unnecessary for JavaScript resources\.

View File

@ -49,8 +49,6 @@ VNU_IGNORE = [
r"No “p” element in scope but a “p” end tag seen\.",
r"Element “div” not allowed as child of element “ul” in this context\. "
+ r"\(Suppressing further errors from this subtree\.\)",
# Warnings that are probably less important.
r"The “type” attribute is unnecessary for JavaScript resources\.",
]
VNU_IGNORE_REGEX = re.compile(r"|".join(VNU_IGNORE))