svenkreiss / html5validator

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

Update vnu.jar to latest version to fix issue with JSON output #55

Closed RinkeHoekstra closed 4 years ago

RinkeHoekstra commented 4 years ago

JSON output currently is broken because the "smart quotes" option cannot be switched off (--asciiquotes). This means that the "message" value can contain normal double quotes, which breaks JSON parsers.

See https://github.com/validator/validator/issues/834

The latest release at https://github.com/validator/validator/releases/tag/jar fixes this.

RinkeHoekstra commented 4 years ago

NB: I can confirm that replacing the distributed vnu.jar with the latest version fixes the issue.