swc/crates/swc_html_parser/tests/fixture/text/entity/input.html
2022-05-03 02:49:06 +00:00

65 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<body>
<h1>HTML Entity Example</h1>
<div>A space character: &AMP;</div>
<div>A space character: &amp;</div>
<div>A space character: &amp;;</div>
<div>A space character: &nbsp;</div>
<div>The less-than sign: &lt;</div>
<div>The greater-than sign: &gt;</div>
<div>The double quote sign: &quot;</div>
<div>The single quote sign: &apos;</div>
<div>The cent sign: &cent;</div>
<div>The pound sign: &pound;</div>
<div>The yen sign: &yen;</div>
<div>The euro sign: &euro;</div>
<div>The copyright sign: &copy;</div>
<div>The registered trade mark sign: &reg;</div>
<div>&reg;</div>
<div>&REG;</div>
<div>&reg;;</div>
<div>reg</div>
<div>&CounterClockwiseContourIntegral;</div>
<div>&&reg;</div>
<div>An a with a grave accent: a&#768;</div>
<div>An a with an acute accent: a&#769;</div>
<div>An a with a circumflex accent: a&#770;</div>
<div>An a with a tilde: a&#771;</div>
<div>An o with a grave accent: o&#768;</div>
<div>An o with an acute accent: o&#769;</div>
<div>An o with a circumflex accent: o&#770;</div>
<div>An o with a tilde: o&#771;</div>
<div>A space character: &&</div>
<div>I'm &notin; I tell you</div>
<div>I'm &not; I tell you</div>
<a href="http://lmgtfy.com/?l=1&amp;q=rick+roll">tired meme</a>
<a href="#" onclick="window.location='?l=1&amp;q=rick+roll';return false">
kablammo!
</a>
<div>&#x2715;</div>
<div>&#10005;</div>
<div></div>
<div>&#x24;</div>
<div>&#36;</div>
<div>&dollar;</div>
<div>&#x24;</div>
<div>&#X24;</div>
<div>I'm &notin; I tell you</div>
</body>
</html>