You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is using the latest version from https://github.com/validator/validator.github.io .
Calling .setHtml(true) when initializing the MessageEmitterAdapter seems to cause the repetition of the first letter in the sentence of some validation messages:
"Aattribute href not allowed on element span at this point."
"Eelement p not allowed as child of element ul in this context. (Suppressing further errors from this subtree.)"
This is using the latest version from https://github.com/validator/validator.github.io .
Calling
.setHtml(true)
when initializing theMessageEmitterAdapter
seems to cause the repetition of the first letter in the sentence of some validation messages:Here's the main relevant part of my code, although I think the bug should be reproducible without it: https://github.com/cvrebert/lmvtfy/blob/master/src/main/scala/com/chrisrebert/lmvtfy/validation/Html5Validator.scala
It's in Scala but heavily based on your
SimpleCommandLineValidator
. I'm happy to help out if you have any trouble reproducing the problem. I have a couple of reliable Specs2 testcases that catch the bug.X-Ref: validator/validator#2
The text was updated successfully, but these errors were encountered: