svenkreiss / html5validator

Command line tool to validate HTML5 files. Great for continuous integration.
MIT License
314 stars 34 forks source link

The "--format json" and "--ignore" not working together #96

Open alexander-schranz opened 2 years ago

alexander-schranz commented 2 years ago

I tried to use --format json --ignore "Some Text" ends in 0 errors when finding one error to ignore.

If there is no error for which matches --ignore or --ignore-re the result is like expected. But if there is just 1 error message matching the json result is 0. Without all works like expected. So it seems only be a problem with json result. All other formats like text, gnu or xml are correctly returned.