@@ -45,8 +45,7 @@
4545<p>Code in a block quote:</p>
4646<pre><code>sub status {
4747 print "working";
48−}
49−</code></pre>
48+}</code></pre>
5049<p>A list:</p>
5150<ol style="list-style-type: decimal">
5251<li>item one</li>
@@ -71,13 +70,11 @@ sub status {
7170 print "working";
7271}
7372
74−this code block is indented by one tab
75−</code></pre>
73+this code block is indented by one tab</code></pre>
7674<p>And:</p>
7775<pre><code> this code block is indented by two tabs
7876
79−These should not be escaped: \$ \\ \> \[ \{
80−</code></pre>
77+These should not be escaped: \$ \\ \> \[ \{</code></pre>
8178<hr />
8279<h1 id="lists">Lists</h1>
8380<h2 id="unordered">Unordered</h2>
@@ -274,8 +271,7 @@ These should not be escaped: \$ \\ \> \[ \{
274271</dd>
275272<dt><em>orange</em></dt>
276273<dd><p>orange fruit</p>
277−<pre><code>{ orange code block }
278−</code></pre>
274+<pre><code>{ orange code block }</code></pre>
279275<blockquote>
280276<p>orange block quote</p>
281277</blockquote>
@@ -358,11 +354,9 @@ foo
358354<p>This should be a code block, though:</p>
359355<pre><code><div>
360356 foo
361−</div>
362−</code></pre>
357+</div></code></pre>
363358<p>As should this:</p>
364−<pre><code><div>foo</div>
365−</code></pre>
359+<pre><code><div>foo</div></code></pre>
366360<p>Now, nested:</p>
367361<div>
368362 <div>
@@ -387,14 +381,12 @@ Blah
387381-->
388382
389383<p>Code block:</p>
390−<pre><code><!-- Comment -->
391−</code></pre>
384+<pre><code><!-- Comment --></code></pre>
392385<p>Just plain comment, with trailing spaces on the line:</p>
393386<!-- foo -->
394387
395388<p>Code:</p>
396−<pre><code><hr />
397−</code></pre>
389+<pre><code><hr /></code></pre>
398390<p>Hr’s:</p>
399391<hr>
400392
@@ -517,8 +509,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
517509<p>Indented <a href="/url">twice</a>.</p>
518510<p>Indented <a href="/url">thrice</a>.</p>
519511<p>This should [not][] be a link.</p>
520−<pre><code>[not]: /url
521−</code></pre>
512+<pre><code>[not]: /url</code></pre>
522513<p>Foo <a href="/url/" title="Title with "quotes" inside">bar</a>.</p>
523514<p>Foo <a href="/url/" title="Title with "quote" inside">biz</a>.</p>
524515<h2 id="with-ampersands">With ampersands</h2>
@@ -543,8 +534,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+
543534<p>Blockquoted: <a href="http://example.com/"><code class="url">http://example.com/</code></a></p>
544535</blockquote>
545536<p>Auto-links should not occur here: <code><http://example.com/></code></p>
546−<pre><code>or here: <http://example.com/>
547−</code></pre>
537+<pre><code>or here: <http://example.com/></code></pre>
548538<hr />
549539<h1 id="images">Images</h1>
550540<p>From “Voyage dans la Lune” by Georges Melies (1902):</p>
@@ -568,8 +558,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+
568558<li id="fn1"><p>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. <a href="#fnref1" class="footnoteBackLink">↩</a></p></li>
569559<li id="fn2"><p>Here’s the long note. This one contains multiple blocks.</p>
570560<p>Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p>
571−<pre><code> { <code> }
572−</code></pre>
561+<pre><code> { <code> }</code></pre>
573562<p>If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. <a href="#fnref2" class="footnoteBackLink">↩</a></p></li>
574563<li id="fn3"><p>This is <em>easier</em> to type. Inline notes may contain <a href="http://google.com">links</a> and <code>]</code> verbatim characters, as well as [bracketed text]. <a href="#fnref3" class="footnoteBackLink">↩</a></p></li>
575564<li id="fn4"><p>In quote. <a href="#fnref4" class="footnoteBackLink">↩</a></p></li>