mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Remove obsolete error-silencing from FeedValidator
FeedValidator was fixed upstream; it doesn't use an allowlist of (X)HTML
attributes anymore. After updating FeedValidator to the latest commit, I
don't need to filter out false-positives for these attributes.
The FeedValidator commit that resolved the issue:
0b130bd5d7
This commit is contained in:
parent
614c244d3a
commit
b44a4ead71
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ validate_feed() {
|
|||
# 'should not contian" has a false positive triggered by ARIA
|
||||
# entries with the same timestamp isn't a big deal
|
||||
# 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|aria-hidden|controls|data-literal) attribute|$rel_mention_string|entries with the same value|Validating $url"
|
||||
full_regex="Use of unknown namespace|Self reference doesn't match|$rel_mention_string|entries with the same value|Validating $url"
|
||||
|
||||
run_validator \
|
||||
| grep -Ev "$full_regex"
|
||||
|
|
Loading…
Reference in a new issue