Created
January 4, 2011 18:15
-
-
Save phiggins42/765149 to your computer and use it in GitHub Desktop.
This file contains hidden or 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> | |
<!-- heres the trigger (note this single hypen > doesn't trigger it)-> -- // anything omg > this should not be --> | |
<html> | |
<head><title>b0rken</title></head> | |
<body>seen</body> | |
<!-- heres another across multiple lines. | |
-- | |
lots of stuff inbetween a doublehypen on line 8 and a gt on on line 13. lame. | |
> | |
should still be hidden. | |
--> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FF finds any "--" in a commentnode and ends the commentnode whenever the NEXT > is encountered. even across multiple lines. The text
"should not be --> seen should still be hidden. -->" appears in the element.