Created
May 9, 2012 19:15
-
-
Save jsocol/2648133 to your computer and use it in GitHub Desktop.
HTML5 parsing quirk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<title>test</title> | |
<p><em>some </em unfinished business.</p> | |
<!-- EXPECTED DOM: --> | |
<!-- EITHER --> | |
<p><em>some </em unfinished business.</em></p> | |
<!-- OR --> | |
<p><em>some </em >unfinished business.</p> | |
<!-- ACTUAL DOM: --> | |
<p><em>some </em></p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Haha. Just keep trying. You might have to wait several years, but it could work.