1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-20 04:12:09 +00:00

Remove false-positives from feed validator

See https://github.com/w3c/feedvalidator/issues/87
This commit is contained in:
Rohan Kumar 2022-07-07 08:45:13 -07:00
parent c4fef91b64
commit 1a928a4807
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -61,7 +61,7 @@ validate_feed() {
# 'should not contian" has a false positive triggered by ARIA # 'should not contian" has a false positive triggered by ARIA
# entries with the same timestamp isn't a big deal # entries with the same timestamp isn't a big deal
# unregistered link relationship is a false positive caused by an unknown namespace. # unregistered link relationship is a false positive caused by an unknown namespace.
full_regex="Use of unknown namespace|Self reference doesn't match|should not contain (role|aria-labelledby|aria-label|aria-describedby) attribute|$rel_mention_string|entries with the same value|Validating $url" full_regex="Use of unknown namespace|Self reference doesn't match|should not contain (role|aria-labelledby|aria-label|aria-describedby|aria-hidden|controls) attribute|$rel_mention_string|entries with the same value|Validating $url"
run_validator \ run_validator \
| grep -Ev "$full_regex" | grep -Ev "$full_regex"