1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 12:52:10 +00:00

generalize vnu filter for xhtml to all xhtml files

This commit is contained in:
Rohan Kumar 2024-01-30 20:04:40 -05:00
parent b18917ab83
commit cf17e0c1be
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -21,7 +21,7 @@
( # See https://github.com/w3c/css-validator/issues/361 ( # See https://github.com/w3c/css-validator/issues/361
.message == "CSS: Parse Error." .message == "CSS: Parse Error."
and .extract == "not(:focus-visible){outline:no" and .extract == "not(:focus-visible){outline:no"
and (.url | test("index.xhtml")) and (.url | test(".xhtml"))
and .hiliteLength == 1 and .hiliteLength == 1
) or ) or
( # See https://github.com/w3c/css-validator/issues/361 ( # See https://github.com/w3c/css-validator/issues/361