aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.html
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-12-27 18:08:06 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-12-27 18:08:06 -0800
commit70b4ec95e4d1a565d32c074637bc3e3d203ce729 (patch)
tree43e378c838e04f3490d72c0c352541ebcebd45ef /tests/writer.html
parent35fc88ef93d851b795959a11d99cf7f24203dd71 (diff)
downloadpandoc-70b4ec95e4d1a565d32c074637bc3e3d203ce729.tar.gz
Updated tests.
Diffstat (limited to 'tests/writer.html')
-rw-r--r--tests/writer.html33
1 files changed, 11 insertions, 22 deletions
diff --git a/tests/writer.html b/tests/writer.html
index f38ad5079..0aaa6a1b3 100644
--- a/tests/writer.html
+++ b/tests/writer.html
@@ -45,8 +45,7 @@
<p>Code in a block quote:</p>
<pre><code>sub status {
print &quot;working&quot;;
-}
-</code></pre>
+}</code></pre>
<p>A list:</p>
<ol style="list-style-type: decimal">
<li>item one</li>
@@ -71,13 +70,11 @@ sub status {
print &quot;working&quot;;
}
-this code block is indented by one tab
-</code></pre>
+this code block is indented by one tab</code></pre>
<p>And:</p>
<pre><code> this code block is indented by two tabs
-These should not be escaped: \$ \\ \&gt; \[ \{
-</code></pre>
+These should not be escaped: \$ \\ \&gt; \[ \{</code></pre>
<hr />
<h1 id="lists">Lists</h1>
<h2 id="unordered">Unordered</h2>
@@ -274,8 +271,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
</dd>
<dt><em>orange</em></dt>
<dd><p>orange fruit</p>
-<pre><code>{ orange code block }
-</code></pre>
+<pre><code>{ orange code block }</code></pre>
<blockquote>
<p>orange block quote</p>
</blockquote>
@@ -358,11 +354,9 @@ foo
<p>This should be a code block, though:</p>
<pre><code>&lt;div&gt;
foo
-&lt;/div&gt;
-</code></pre>
+&lt;/div&gt;</code></pre>
<p>As should this:</p>
-<pre><code>&lt;div&gt;foo&lt;/div&gt;
-</code></pre>
+<pre><code>&lt;div&gt;foo&lt;/div&gt;</code></pre>
<p>Now, nested:</p>
<div>
<div>
@@ -387,14 +381,12 @@ Blah
-->
<p>Code block:</p>
-<pre><code>&lt;!-- Comment --&gt;
-</code></pre>
+<pre><code>&lt;!-- Comment --&gt;</code></pre>
<p>Just plain comment, with trailing spaces on the line:</p>
<!-- foo -->
<p>Code:</p>
-<pre><code>&lt;hr /&gt;
-</code></pre>
+<pre><code>&lt;hr /&gt;</code></pre>
<p>Hr’s:</p>
<hr>
@@ -517,8 +509,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
<p>Indented <a href="/url">twice</a>.</p>
<p>Indented <a href="/url">thrice</a>.</p>
<p>This should [not][] be a link.</p>
-<pre><code>[not]: /url
-</code></pre>
+<pre><code>[not]: /url</code></pre>
<p>Foo <a href="/url/" title="Title with &quot;quotes&quot; inside">bar</a>.</p>
<p>Foo <a href="/url/" title="Title with &quot;quote&quot; inside">biz</a>.</p>
<h2 id="with-ampersands">With ampersands</h2>
@@ -543,8 +534,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+
<p>Blockquoted: <a href="http://example.com/"><code class="url">http://example.com/</code></a></p>
</blockquote>
<p>Auto-links should not occur here: <code>&lt;http://example.com/&gt;</code></p>
-<pre><code>or here: &lt;http://example.com/&gt;
-</code></pre>
+<pre><code>or here: &lt;http://example.com/&gt;</code></pre>
<hr />
<h1 id="images">Images</h1>
<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>'+'<\/'+
<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>
<li id="fn2"><p>Here’s the long note. This one contains multiple blocks.</p>
<p>Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p>
-<pre><code> { &lt;code&gt; }
-</code></pre>
+<pre><code> { &lt;code&gt; }</code></pre>
<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>
<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>
<li id="fn4"><p>In quote. <a href="#fnref4" class="footnoteBackLink">↩</a></p></li>