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
for node.ElementHtml(). (Yes, with the line breaks.)
Something tells me that doesn't satisfy the HTML5 parsing rules... by then again, I've never read them. [:-)] Either way, you may want something for it in your tests.
Interesting.. space should be a stopper no matter what, but the rules for a valid tag name are pretty liberal -- maybe it was a shift-space or something? If you can repro it definitely post the markup. I'll play a bit with that tomorrow too.
It may be I'm not permitting enough whitespace as stoppers in the tag name. I have tests for other situations like class name separators, not sure this has come up before. (like the first thing after the tag name being a linefeed)
Activity
jamietre commentedon Jun 28, 2012
Interesting.. space should be a stopper no matter what, but the rules for a valid tag name are pretty liberal -- maybe it was a shift-space or something? If you can repro it definitely post the markup. I'll play a bit with that tomorrow too.
It may be I'm not permitting enough whitespace as stoppers in the tag name. I have tests for other situations like class name separators, not sure this has come up before. (like the first thing after the tag name being a linefeed)
Fix Issue #15 & Issue #16
jamietre commentedon Jun 29, 2012
OK, fixed. I was not checking for all valid whitespace after tag names, this works: