-
-
Notifications
You must be signed in to change notification settings - Fork 311
[Fixes #249] Use parse5 for standard-compliant parsing #251
Conversation
@@ -59,7 +59,7 @@ exports.bootlint = { | |||
[], | |||
'should not complain when the normal simple HTML5 doctype is used.'); | |||
test.deepEqual(lintHtml(utf8Fixture('doctype/html5-legacy.html')), | |||
[], | |||
['Document declares a non-HTML5 DOCTYPE'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't need to change this. Either E001's implementation needs tweaking or presumably parse5 has a minor bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then parae5 has a bug.
So, the reason I hesitated to make a PR myself (was hoping to have some discussion) is that I have some concerns about switching to Whacko. Mind you, I'm not sure where currently I stand, but I think the decision merits discussion either way. Pros:
Cons:
Mitigating factors:
CC: @hnrch02, as it's ultimately his decision to make as maintainer. |
Thanks. Honestly for me this is an opportunity to try to learn more than anything else so I really appreciate your explanation about the pros and cons. |
X-Ref: inikulin/parse5#45 |
Hah, I filed inikulin/whacko#13 |
haha oops. Sorry about that! Didn't mean to create any overlay, just wanted to make sure it was reported 😃 Want me to close mine on parse5? |
I'd rather stay with Cheerio. |
[Fixes #249] Use parse5 for standard-compliant parsing