svenkreiss / html5validator

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

--ignore is broken after updating to 0.2.1 #13

Closed php-coder closed 8 years ago

php-coder commented 8 years ago

After updating to 0.2.1 --ignore option gets ignored.

I'm invoking htmlvalidator with the following command: html5validator --root src/main/webapp/WEB-INF/views --ignore 'Attribute “(th|sec|togglz|xmlns):[a-z]+” not allowed' 'Attribute “(th|sec|togglz):[a-z]+” is not serializable' 'Attribute with the local name “xmlns:[a-z]+” is not serializable' --show-warnings

svenkreiss commented 8 years ago

There is a breaking API change: what was --ignore is now --ignore-re.

On Jan 25, 2016, at 2:06 PM, Vyacheslav Semushin notifications@github.com wrote:

After updating to 0.2.1 --ignore option get ignored.

I'm invoking htmlvalidator with the following command: html5validator --root src/main/webapp/WEB-INF/views --ignore 'Attribute “(th|sec|togglz|xmlns):[a-z]+” not allowed' 'Attribute “(th|sec|togglz):[a-z]+” is not serializable' 'Attribute with the local name “xmlns:[a-z]+” is not serializable' --show-warnings

— Reply to this email directly or view it on GitHub.

php-coder commented 8 years ago

Ah, I see now. Thank you and I'm sorry.

svenkreiss commented 8 years ago

no worries. Better one bug report more than a bug that goes unreported.