swc/crates/swc_html_codegen/tests/fixture/html-entity/input.html

73 lines
2.2 KiB
HTML
Raw Normal View History

2022-04-07 08:12:54 +03:00
<!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: &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>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>
<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>&amp;#38;</div>
<div>&amp#38;</div>
<div>&amp#38</div>
<div>&amp#x26;</div>
<div>&amp#x26</div>
<div>&#38;amp</div>
<div>&amp#</div>
<div>&amp#1</div>
<div>&#8</div>
<div>&8</div>
<div>&#38;#a</div>
<div>&#38;#xb</div>
<div>&#38;#xj</div>
<div data-test="&amp;amp;"></div>
<div data-test="&amp;amp"></div>
<div data-test="&amp;#36"></div>
<div data-test="&amp;#x36"></div>
<div data-test="&unknown">&unknown</div>
<div data-test="&unknown;">&unknown;</div>
<div data-test="&u;">&u;</div>
<div data-test="&ampCounterClockwiseContourIntegral">&ampCounterClockwiseContourIntegral</div>
<div data-test="&amp;CounterClockwiseContourIntegral">&amp;CounterClockwiseContourIntegral</div>
<div data-test="&ampCounterClockwiseContourIntegral;">&ampCounterClockwiseContourIntegral;</div>
<div data-test="&amp;CounterClockwiseContourIntegral;">&amp;CounterClockwiseContourIntegral;</div>
<div data-test="&amp;amp">&amp;amp</div>
<div data-test="&amp;am">&amp;am</div>
<div data-test="&amp;;">&amp;;</div>
<div data-test="&amp;">&amp;</div>
<div data-test="&amp;#x">&amp;#x</div>
<div data-test="&amp;#x1">&amp;#x1</div>
<div data-test="&amp;#1">&amp;#1</div>
2022-04-07 08:12:54 +03:00
</body>
</html>