blob: 71c0f91c088d4bdea854bbb988069f2e67f6c753 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<!DOCTYPE html><html><head><title></title><link rel="stylesheet" type="text/css" href="resource://content-accessible/viewsource.css"></head><body id="viewsource" class="wrap highlight"><pre id><span class="doctype"><!DOCTYPE html></span>
<span id></span><span><<span class="start-tag">html</span>></span>
<span id></span><span><<span class="start-tag">head</span>></span>
<span id></span><span><<span class="start-tag">title</span>></span><span>Title</span><span></<span class="end-tag">title</span>></span>
<span id></span><span><<span class="start-tag">script</span>></span>
<span id></span>var lt = "<";
<span id></span><!--
<span id></span>var s = "<script>foo</script>";
<span id></span>-->
<span id></span><span></<span class="end-tag">script</span>></span><span></span><span class="comment"><!-- Comment. --></span>
<span id></span><span><<span class="start-tag">style</span>></span>
<span id></span>/* </foo> */
<span id></span><span></<span class="end-tag">style</span>></span>
<span id></span><span></<span class="end-tag">head</span>></span>
<span id></span><span><<span class="start-tag">body</span>></span>
<span id></span><span><<span class="start-tag">p</span>></span><span>Entity: <span class="entity"><span>&</span>amp; </span></span><span></<span class="end-tag">p</span>></span>
<span id></span><span><<span class="start-tag">iframe</span>></span><img><span></<span class="end-tag">iframe</span>></span>
<span id></span><span><<span class="start-tag">noscript</span>></span><p>Not para</p><span></<span class="end-tag">noscript</span>></span>
<span id></span><span><<span class="start-tag">svg</span>></span>
<span id></span><span><<span class="start-tag">title</span>></span><span></span><span class="cdata"><![CDATA[bar]]></span><span></span><span></<span class="end-tag">title</span>></span>
<span id></span><span><<span class="start-tag">script</span>></span><span></span><span class="comment"><!-- this is a comment --></span><span></span><span></<span class="end-tag">script</span>></span>
<span id></span><span></<span class="end-tag">svg</span>></span>
<span id></span><span></<span class="end-tag">body</span>></span>
<span id></span><span></<span class="end-tag">html</span>></span>
<span id></span>
</pre>
<!-- View source CSS matches the <pre id> and <span id> elements and produces line numbers. -->
|