mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
test-documentation: Clean up fixed HTML validation ignore patterns.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
da8763d889
commit
bf447a726f
@@ -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.
|
# Warnings that are probably less important.
|
||||||
|
|
||||||
The “type” attribute is unnecessary for JavaScript resources\.
|
The “type” attribute is unnecessary for JavaScript resources\.
|
||||||
|
@@ -49,8 +49,6 @@ VNU_IGNORE = [
|
|||||||
r"No “p” element in scope but a “p” end tag seen\.",
|
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"Element “div” not allowed as child of element “ul” in this context\. "
|
||||||
+ r"\(Suppressing further errors from this subtree\.\)",
|
+ 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))
|
VNU_IGNORE_REGEX = re.compile(r"|".join(VNU_IGNORE))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user