Cyb3r-Jak3 / html5validator-action

GitHub Action that checks HTML5 syntax.
https://github.com/marketplace/actions/html5-validator
Mozilla Public License 2.0
42 stars 12 forks source link

[FEATURE REQUEST] Compatibility with Bootstrap #35

Closed MuffinKing-jpeg closed 2 years ago

MuffinKing-jpeg commented 2 years ago

When the CSS file contains bootstrap it throws an error

It will be nice to have the ability to disable specific errors like "non-existing feature". Example of errors.

Cyb3r-Jak3 commented 2 years ago

You can ignore errors with html5validator, and it is something that should probably be implemented here. You can use a config file with the current version of this action. One like this should get you started: https://github.com/svenkreiss/html5validator/blob/main/html5validator/tests/config_files/ignore_and_ignorere.yaml

MuffinKing-jpeg commented 2 years ago

I tried to use a configuration file. It broke everything, but I found the problem, default parser for CSS3 only, but for bootstrap must be CSS3+SVG

Cyb3r-Jak3 commented 2 years ago

Thanks for the update! Sounds like a problem with https://github.com/validator/validator and not this action