Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jsocol
Created May 9, 2012 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsocol/2648133 to your computer and use it in GitHub Desktop.
Save jsocol/2648133 to your computer and use it in GitHub Desktop.
HTML5 parsing quirk
<!DOCTYPE html>
<title>test</title>
<p><em>some </em unfinished business.</p>
<!-- EXPECTED DOM: -->
<!-- EITHER -->
<p><em>some &lt;/em unfinished business.</em></p>
<!-- OR -->
<p><em>some </em >unfinished business.</p>
<!-- ACTUAL DOM: -->
<p><em>some </em></p>
@jlongster
Copy link

You could try asking in #content, I think that's where the DOM guys live.

@jsocol
Copy link
Author

jsocol commented May 9, 2012 via email

@jsocol
Copy link
Author

jsocol commented May 9, 2012 via email

@jlongster
Copy link

Haha. Just keep trying. You might have to wait several years, but it could work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment