praveenvijayan / grunt-html-validation

W3C html validaton grunt plugin. Validate all files in a directory automatically.
MIT License
75 stars 39 forks source link

prompt undefined fix #54

Closed sylvaincombes closed 10 years ago

sylvaincombes commented 10 years ago

Hello when i tried this grunt task i have this error blocking me :

Fatal error: Cannot read property 'prompt' of undefined

I had to patch out the script in order to have execution. After the patch i have outputs like this :

1=> "& did not start a character reference. (& probably should have been escaped as &.)" Line no: undefined

(the typo was on the title tag in the html, it seems it cannot get the line number > undefined)

I don't know why this happened or if this patch could be useful to you but anyway i report it to you.

Thanks for your code.

sylvaincombes commented 10 years ago

can someone with appropriate rights relaunch the travis build ? seems to me that the 'fail' is not related to the code. Thanks