Show output (4676 lines)
Example 3 (lines 364-371) Tabs
--- expected HTML
+++ actual HTML
@@ -1,3 +1,2 @@
-<pre><code>a a
-ὐ a
+<pre><code>a a ὐ a
</code></pre>
Example 4 (lines 377-388) Tabs
--- expected HTML
+++ actual HTML
@@ -1,6 +1,3 @@
<ul>
-<li>
-<p>foo</p>
-<p>bar</p>
-</li>
+<li>foo bar</li>
</ul>
Example 5 (lines 390-402) Tabs
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<ul>
-<li>
-<p>foo</p>
-<pre><code> bar
-</code></pre>
-</li>
+<li>foo bar</li>
</ul>
Example 8 (lines 434-441) Tabs
--- expected HTML
+++ actual HTML
@@ -1,3 +1,2 @@
-<pre><code>foo
-bar
+<pre><code>foo bar
</code></pre>
Example 9 (lines 443-459) Tabs
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ul>
-<li>foo
-<ul>
-<li>bar
-<ul>
-<li>baz</li>
+<li>foo - bar - baz</li>
</ul>
-</li>
-</ul>
-</li>
-</ul>
Example 12 (lines 494-502) Precedence
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<ul>
-<li>`one</li>
-<li>two`</li>
+<li><code>one- two</code></li>
</ul>
Example 13 (lines 533-541) Thematic breaks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<hr />
-<hr />
-<hr />
+<p>***---___</p>
Example 16 (lines 562-570) Thematic breaks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p>--
-**
-__</p>
+<p>--**__</p>
Example 17 (lines 575-583) Thematic breaks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
<hr />
-<hr />
-<hr />
Example 25 (lines 648-658) Thematic breaks
_ _ _ _ a
a------
---a---
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p>_ _ _ _ a</p>
-<p>a------</p>
-<p>---a---</p>
+<p>_ _ _ _ aa---------a---</p>
Example 27 (lines 673-685) Thematic breaks
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<ul>
-<li>foo</li>
+<li>foo***- bar</li>
</ul>
-<hr />
-<ul>
-<li>bar</li>
-</ul>
Example 28 (lines 690-698) Thematic breaks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p>Foo</p>
-<hr />
-<p>bar</p>
+<p>Foo***bar</p>
Example 29 (lines 707-714) Thematic breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<h2>Foo</h2>
-<p>bar</p>
+<p>Foo---bar</p>
Example 30 (lines 720-732) Thematic breaks
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<ul>
-<li>Foo</li>
+<li>Foo* * ** Bar</li>
</ul>
-<hr />
-<ul>
-<li>Bar</li>
-</ul>
Example 31 (lines 737-747) Thematic breaks
--- expected HTML
+++ actual HTML
@@ -1,6 +1,3 @@
<ul>
-<li>Foo</li>
-<li>
-<hr />
-</li>
+<li>Foo- * * *</li>
</ul>
Example 32 (lines 766-780) ATX headings
# foo
## foo
### foo
#### foo
##### foo
###### foo
--- expected HTML
+++ actual HTML
@@ -1,6 +1 @@
-<h1>foo</h1>
-<h2>foo</h2>
-<h3>foo</h3>
-<h4>foo</h4>
-<h5>foo</h5>
-<h6>foo</h6>
+<h1>foo## foo### foo#### foo##### foo###### foo</h1>
Example 34 (lines 800-807) ATX headings
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>#5 bolt</p>
-<p>#hashtag</p>
+<p>#5 bolt#hashtag</p>
Example 38 (lines 839-847) ATX headings
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<h3>foo</h3>
-<h2>foo</h2>
-<h1>foo</h1>
+<h3>foo ## foo # foo</h3>
Example 41 (lines 871-877) ATX headings
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<h2>foo</h2>
-<h3>bar</h3>
+<h2>foo ## ### bar</h2>
Example 42 (lines 882-888) ATX headings
# foo ##################################
##### foo ##
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<h1>foo</h1>
-<h5>foo</h5>
+<h1>foo ####################################### foo</h1>
Example 46 (lines 923-931) ATX headings
### foo \###
## foo #\##
# foo \#
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<h3>foo ###</h3>
-<h2>foo ###</h2>
-<h1>foo #</h1>
+<h3>foo ##### foo #### foo #</h3>
Example 47 (lines 937-945) ATX headings
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<hr />
-<h2>foo</h2>
-<hr />
+<p><strong><strong>## foo</strong></strong></p>
Example 48 (lines 948-956) ATX headings
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p>Foo bar</p>
-<h1>baz</h1>
-<p>Bar foo</p>
+<p>Foo bar# bazBar foo</p>
Example 49 (lines 961-969) ATX headings
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<h2></h2>
-<h1></h1>
-<h3></h3>
+<h2>####</h2>
Example 50 (lines 1004-1013) Setext headings
Foo *bar*
=========
Foo *bar*
---------
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<h1>Foo <em>bar</em></h1>
-<h2>Foo <em>bar</em></h2>
+<p>Foo <em>bar</em>=========Foo <em>bar</em>---------</p>
Example 51 (lines 1018-1025) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<h1>Foo <em>bar
-baz</em></h1>
+<p>Foo <em>barbaz</em>====</p>
Example 52 (lines 1030-1039) Setext headings
Foo
-------------------------
Foo
=
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<h2>Foo</h2>
-<h1>Foo</h1>
+<p>Foo-------------------------Foo=</p>
Example 53 (lines 1045-1058) Setext headings
Foo
---
Foo
-----
Foo
===
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<h2>Foo</h2>
-<h2>Foo</h2>
-<h1>Foo</h1>
+<p>Foo--- Foo----- Foo ===</p>
Example 54 (lines 1063-1076) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,6 +1,2 @@
-<pre><code>Foo
----
-
-Foo
+<pre><code>Foo --- Foo---
</code></pre>
-<hr />
Example 55 (lines 1082-1087) Setext headings
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<h2>Foo</h2>
+<p>Foo ----</p>
Example 57 (lines 1103-1114) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>Foo
-= =</p>
-<p>Foo</p>
-<hr />
+<p>Foo= =Foo--- -</p>
Example 58 (lines 1119-1124) Setext headings
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<h2>Foo</h2>
+<p>Foo -----</p>
Example 59 (lines 1129-1134) Setext headings
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<h2>Foo\</h2>
+<p>Foo----</p>
Example 60 (lines 1140-1153) Setext headings
`Foo
----
`
<a title="a lot
---
of dashes"/>
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<h2>`Foo</h2>
-<p>`</p>
-<h2><a title="a lot</h2>
-<p>of dashes"/></p>
+<p><code>Foo----</code><a title="a lot---of dashes"/></p>
Example 61 (lines 1159-1167) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<blockquote>
-<p>Foo</p>
+<p>Foo---</p>
</blockquote>
-<hr />
Example 62 (lines 1170-1180) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<blockquote>
-<p>foo
-bar
-===</p>
+<p>foobar===</p>
</blockquote>
Example 63 (lines 1183-1191) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<ul>
-<li>Foo</li>
+<li>Foo---</li>
</ul>
-<hr />
Example 64 (lines 1198-1205) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<h2>Foo
-Bar</h2>
+<p>FooBar---</p>
Example 65 (lines 1211-1223) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<hr />
-<h2>Foo</h2>
-<h2>Bar</h2>
-<p>Baz</p>
+<p>---Foo---Bar---Baz</p>
Example 67 (lines 1240-1246) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
<hr />
-<hr />
Example 68 (lines 1249-1257) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<ul>
-<li>foo</li>
+<li>foo-----</li>
</ul>
-<hr />
Example 69 (lines 1260-1267) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,3 +1,2 @@
-<pre><code>foo
+<pre><code>foo---
</code></pre>
-<hr />
Example 70 (lines 1270-1278) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<blockquote>
-<p>foo</p>
+<p>foo-----</p>
</blockquote>
-<hr />
Example 71 (lines 1284-1289) Setext headings
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<h2>> foo</h2>
+<p>> foo------</p>
Example 72 (lines 1315-1325) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p>Foo</p>
-<h2>bar</h2>
-<p>baz</p>
+<p>Foobar---baz</p>
Example 73 (lines 1331-1343) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>Foo
-bar</p>
-<hr />
-<p>baz</p>
+<p>Foobar---baz</p>
Example 74 (lines 1349-1359) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>Foo
-bar</p>
-<hr />
-<p>baz</p>
+<p>Foobar* * *baz</p>
Example 75 (lines 1364-1374) Setext headings
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>Foo
-bar
----
-baz</p>
+<p>Foobar---baz</p>
Example 76 (lines 1392-1399) Indented code blocks
a simple
indented code block
--- expected HTML
+++ actual HTML
@@ -1,3 +1,2 @@
-<pre><code>a simple
- indented code block
+<pre><code>a simple indented code block
</code></pre>
Example 77 (lines 1406-1417) Indented code blocks
--- expected HTML
+++ actual HTML
@@ -1,6 +1,3 @@
<ul>
-<li>
-<p>foo</p>
-<p>bar</p>
-</li>
+<li>foo bar</li>
</ul>
Example 78 (lines 1420-1433) Indented code blocks
--- expected HTML
+++ actual HTML
@@ -1,8 +1,3 @@
<ol>
-<li>
-<p>foo</p>
-<ul>
-<li>bar</li>
-</ul>
-</li>
+<li>foo - bar</li>
</ol>
Example 79 (lines 1440-1451) Indented code blocks
--- expected HTML
+++ actual HTML
@@ -1,5 +1,2 @@
-<pre><code><a/>
-*hi*
-
-- one
+<pre><code><a/> *hi* - one
</code></pre>
Example 80 (lines 1456-1473) Indented code blocks
--- expected HTML
+++ actual HTML
@@ -1,8 +1,2 @@
-<pre><code>chunk1
-
-chunk2
-
-
-
-chunk3
+<pre><code>chunk1 chunk2 chunk3
</code></pre>
Example 81 (lines 1479-1488) Indented code blocks
--- expected HTML
+++ actual HTML
@@ -1,4 +1,2 @@
-<pre><code>chunk1
-
- chunk2
+<pre><code>chunk1 chunk2
</code></pre>
Example 83 (lines 1508-1515) Indented code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1,2 @@
-<pre><code>foo
+<pre><code>foobar
</code></pre>
-<p>bar</p>
Example 84 (lines 1521-1536) Indented code blocks
# Heading
foo
Heading
------
foo
----
--- expected HTML
+++ actual HTML
@@ -1,7 +1 @@
-<h1>Heading</h1>
-<pre><code>foo
-</code></pre>
-<h2>Heading</h2>
-<pre><code>foo
-</code></pre>
-<hr />
+<h1>Heading fooHeading------ foo----</h1>
Example 85 (lines 1541-1548) Indented code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1,2 @@
-<pre><code> foo
-bar
+<pre><code> foo bar
</code></pre>
Example 86 (lines 1554-1563) Indented code blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1,2 @@
-<pre><code>foo
+<pre><code> foo
</code></pre>
Example 88 (lines 1623-1632) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code><
- >
-</code></pre>
+<p><code>< ></code></p>
Example 89 (lines 1637-1646) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code><
- >
-</code></pre>
+<p>~~~< >~~~</p>
Example 91 (lines 1661-1670) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code>aaa
-~~~
-</code></pre>
+<p><code>aaa~~~</code></p>
Example 92 (lines 1673-1682) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code>aaa
-```
-</code></pre>
+<p>~~~aaa```~~~</p>
Example 93 (lines 1687-1696) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code>aaa
-```
-</code></pre>
+<p>````aaa`````````</p>
Example 94 (lines 1699-1708) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code>aaa
-~~~
-</code></pre>
+<p>~~~~aaa~~~~~~~</p>
Example 96 (lines 1721-1731) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<pre><code>
-```
-aaa
-</code></pre>
+<pre><code class="language-aaa"></code></pre>
Example 97 (lines 1734-1745) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<blockquote>
-<pre><code>aaa
-</code></pre>
+<pre><code class="language->"></code></pre>
</blockquote>
-<p>bbb</p>
Example 98 (lines 1750-1759) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code>
-
-</code></pre>
+<p><code></code></p>
Example 100 (lines 1776-1785) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code>aaa
-aaa
-</code></pre>
+<p><code>aaaaaa</code></p>
Example 101 (lines 1788-1799) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<pre><code>aaa
-aaa
-aaa
-</code></pre>
+<p><code>aaa aaaaaa</code></p>
Example 102 (lines 1802-1813) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<pre><code>aaa
- aaa
-aaa
-</code></pre>
+<p><code>aaa aaa aaa</code></p>
Example 103 (lines 1818-1827) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,4 +1,2 @@
-<pre><code>```
-aaa
-```
+<pre><code>``` aaa ```
</code></pre>
Example 104 (lines 1833-1840) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<pre><code>aaa
-</code></pre>
+<p><code>aaa</code></p>
Example 105 (lines 1843-1850) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<pre><code>aaa
-</code></pre>
+<p><code>aaa</code></p>
Example 106 (lines 1855-1863) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code>aaa
- ```
-</code></pre>
+<p><code>aaa</code></p>
Example 107 (lines 1869-1875) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><code></code>
-aaa</p>
+<p><code></code>aaa</p>
Example 108 (lines 1878-1886) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code>aaa
-~~~ ~~
-</code></pre>
+<p>~~~~~~aaa~~~ ~~</p>
Example 109 (lines 1892-1903) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>foo</p>
-<pre><code>bar
-</code></pre>
-<p>baz</p>
+<p>foo<code>bar</code>baz</p>
Example 110 (lines 1909-1921) Fenced code blocks
foo
---
~~~
bar
~~~
# baz
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<h2>foo</h2>
-<pre><code>bar
-</code></pre>
-<h1>baz</h1>
+<p>foo---~~~bar~~~# baz</p>
Example 111 (lines 1929-1940) Fenced code blocks
```ruby
def foo(x)
return 3
end
```
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<pre><code class="language-ruby">def foo(x)
- return 3
-end
-</code></pre>
+<p><code>rubydef foo(x) return 3end</code></p>
Example 112 (lines 1943-1954) Fenced code blocks
~~~~ ruby startline=3 $%@#$
def foo(x)
return 3
end
~~~~~~~
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<pre><code class="language-ruby">def foo(x)
- return 3
-end
-</code></pre>
+<p>~~~~ ruby startline=3 $%@#$def foo(x) return 3end~~~~~~~</p>
Example 113 (lines 1957-1962) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<pre><code class="language-;"></code></pre>
+<p><code>;</code></p>
Example 114 (lines 1967-1973) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><code>aa</code>
-foo</p>
+<p><code>aa</code>foo</p>
Example 115 (lines 1978-1985) Fenced code blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<pre><code>``` aaa
-</code></pre>
+<p>`````` aaa```</p>
Example 116 (lines 2055-2070) HTML blocks
<table><tr><td>
<pre>
**Hello**,
_world_.
</pre>
</td></tr></table>
--- expected HTML
+++ actual HTML
@@ -1,6 +1 @@
-<table><tr><td>
-<pre>
-**Hello**,
-<p><em>world</em>.
-</pre></p>
-</td></tr></table>
+<table><tr><td><pre>**Hello**,_world_.</pre></td></tr></table>
Example 117 (lines 2084-2103) HTML blocks
<table>
<tr>
<td>
hi
</td>
</tr>
</table>
okay.
--- expected HTML
+++ actual HTML
@@ -1,8 +1 @@
-<table>
- <tr>
- <td>
- hi
- </td>
- </tr>
-</table>
-<p>okay.</p>
+<table> <tr> <td> hi </td> </tr></table>okay.
Example 120 (lines 2130-2140) HTML blocks
<DIV CLASS="foo">
*Markdown*
</DIV>
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<DIV CLASS="foo">
-<p><em>Markdown</em></p>
-</DIV>
+<DIV CLASS="foo">*Markdown*</DIV>
Example 122 (lines 2157-2165) HTML blocks
<div id="foo" class="bar
baz">
</div>
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<div id="foo" class="bar
- baz">
-</div>
+<div id="foo" class="bar baz"></div>
Example 123 (lines 2169-2178) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<div>
-*foo*
-<p><em>bar</em></p>
+<div>*foo**bar*
Example 124 (lines 2185-2191) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<div id="foo"
-*hi*
+<div id="foo"*hi*
Example 125 (lines 2194-2200) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<div class
-foo
+<div classfoo
Example 126 (lines 2206-2212) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<div *???-&&&-<---
-*foo*
+<div *???-&&&-<---*foo*
Example 129 (lines 2242-2252) HTML blocks
<div></div>
``` c
int x = 33;
```
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<div></div>
-``` c
-int x = 33;
-```
+<div></div>``` cint x = 33;```
Example 130 (lines 2259-2267) HTML blocks
<a href="foo">
*bar*
</a>
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<a href="foo">
-*bar*
-</a>
+<p><a href="foo"><em>bar</em></a></p>
Example 131 (lines 2272-2280) HTML blocks
<Warning>
*bar*
</Warning>
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<Warning>
-*bar*
-</Warning>
+<p><Warning><em>bar</em></Warning></p>
Example 132 (lines 2283-2291) HTML blocks
<i class="foo">
*bar*
</i>
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<i class="foo">
-*bar*
-</i>
+<p><i class="foo"><em>bar</em></i></p>
Example 133 (lines 2294-2300) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-</ins>
-*bar*
+<p></ins><em>bar</em></p>
Example 134 (lines 2309-2317) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<del>
-*foo*
-</del>
+<p><del><em>foo</em></del></p>
Example 135 (lines 2324-2334) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<del>
-<p><em>foo</em></p>
-</del>
+<p><del><em>foo</em></del></p>
Example 137 (lines 2358-2374) HTML blocks
<pre language="haskell"><code>
import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
</code></pre>
okay
--- expected HTML
+++ actual HTML
@@ -1,7 +1 @@
-<pre language="haskell"><code>
-import Text.HTML.TagSoup
-
-main :: IO ()
-main = print $ parseTags tags
-</code></pre>
-<p>okay</p>
+<pre language="haskell"><code>import Text.HTML.TagSoupmain :: IO ()main = print $ parseTags tags</code></pre>okay
Example 138 (lines 2379-2393) HTML blocks
<script type="text/javascript">
// JavaScript example
document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
okay
--- expected HTML
+++ actual HTML
@@ -1,6 +1 @@
-<script type="text/javascript">
-// JavaScript example
-
-document.getElementById("demo").innerHTML = "Hello JavaScript!";
-</script>
-<p>okay</p>
+<script type="text/javascript">// JavaScript exampledocument.getElementById("demo").innerHTML = "Hello JavaScript!";</script>okay
Example 139 (lines 2398-2414) HTML blocks
<style
type="text/css">
h1 {color:red;}
p {color:blue;}
</style>
okay
--- expected HTML
+++ actual HTML
@@ -1,7 +1 @@
-<style
- type="text/css">
-h1 {color:red;}
-
-p {color:blue;}
-</style>
-<p>okay</p>
+<style type="text/css">h1 {color:red;}p {color:blue;}</style>okay
Example 141 (lines 2434-2445) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<blockquote>
-<div>
-foo
+<div>> foobar
</blockquote>
-<p>bar</p>
Example 142 (lines 2448-2458) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,6 +1,5 @@
<ul>
<li>
-<div>
+<div>- foo
</li>
-<li>foo</li>
</ul>
Example 143 (lines 2463-2469) HTML blocks
<style>p{color:red;}</style>
*foo*
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<style>p{color:red;}</style>
-<p><em>foo</em></p>
+<style>p{color:red;}</style>*foo*
Example 144 (lines 2472-2478) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<!-- foo -->*bar*
-<p><em>baz</em></p>
+<!-- foo -->*bar**baz*
Example 146 (lines 2497-2509) HTML blocks
<!-- Foo
bar
baz -->
okay
--- expected HTML
+++ actual HTML
@@ -1,5 +1 @@
-<!-- Foo
-
-bar
- baz -->
-<p>okay</p>
+<!-- Foobar baz -->okay
Example 147 (lines 2515-2529) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,6 +1 @@
-<?php
-
- echo '>';
-
-?>
-<p>okay</p>
+<?php echo '>';?>okay
Example 149 (lines 2543-2571) HTML blocks
<![CDATA[
function matchwo(a,b)
{
if (a < b && a < 0) then {
return 1;
} else {
return 0;
}
}
]]>
okay
--- expected HTML
+++ actual HTML
@@ -1,13 +1 @@
-<![CDATA[
-function matchwo(a,b)
-{
- if (a < b && a < 0) then {
- return 1;
-
- } else {
-
- return 0;
- }
-}
-]]>
-<p>okay</p>
+<![CDATA[function matchwo(a,b){ if (a < b && a < 0) then { return 1; } else { return 0; }}]]>okay
Example 150 (lines 2576-2584) HTML blocks
<!-- foo -->
<!-- foo -->
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
- <!-- foo -->
-<pre><code><!-- foo -->
-</code></pre>
+ <!-- foo --> <!-- foo -->
Example 151 (lines 2587-2595) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
- <div>
-<pre><code><div>
-</code></pre>
+ <div> <div>
Example 152 (lines 2601-2611) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>Foo</p>
-<div>
-bar
-</div>
+<p>Foo<div>bar</div></p>
Example 154 (lines 2632-2640) HTML blocks
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p>Foo
-<a href="bar">
-baz</p>
+<p>Foo<a href="bar">baz</p>
Example 155 (lines 2673-2683) HTML blocks
<div>
*Emphasized* text.
</div>
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<div>
-<p><em>Emphasized</em> text.</p>
-</div>
+<div>*Emphasized* text.</div>
Example 158 (lines 2735-2756) HTML blocks
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>
--- expected HTML
+++ actual HTML
@@ -1,8 +1 @@
-<table>
- <tr>
-<pre><code><td>
- Hi
-</td>
-</code></pre>
- </tr>
-</table>
+<table> <tr> <td> Hi </td> </tr></table>
Example 159 (lines 2783-2789) Link reference definitions
[foo]: /url "title"
[foo]
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url" title="title">foo</a></p>
+<p>[foo]: /url "title"[foo]</p>
Example 160 (lines 2792-2800) Link reference definitions
[foo]:
/url
'the title'
[foo]
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url" title="the title">foo</a></p>
+<p>[foo]: /url 'the title' [foo]</p>
Example 161 (lines 2803-2809) Link reference definitions
[Foo*bar\]]:my_(url) 'title (with parens)'
[Foo*bar\]]
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="my_(url)" title="title (with parens)">Foo*bar]</a></p>
+<p>[Foo<em>bar]]:my_(url) 'title (with parens)'[Foo</em>bar]]</p>
Example 162 (lines 2812-2820) Link reference definitions
[Foo bar]:
<my%20url>
'title'
[Foo bar]
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="my%20url" title="title">Foo bar</a></p>
+<p>[Foo bar]:<my%20url>'title'[Foo bar]</p>
Example 163 (lines 2825-2839) Link reference definitions
[foo]: /url '
title
line1
line2
'
[foo]
--- expected HTML
+++ actual HTML
@@ -1,5 +1 @@
-<p><a href="/url" title="
-title
-line1
-line2
-">foo</a></p>
+<p>[foo]: /url 'titleline1line2'[foo]</p>
Example 164 (lines 2844-2854) Link reference definitions
[foo]: /url 'title
with blank line'
[foo]
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p>[foo]: /url 'title</p>
-<p>with blank line'</p>
-<p>[foo]</p>
+<p>[foo]: /url 'titlewith blank line'[foo]</p>
Example 165 (lines 2859-2866) Link reference definitions
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url">foo</a></p>
+
Example 166 (lines 2871-2878) Link reference definitions
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>[foo]:</p>
-<p>[foo]</p>
+
Example 167 (lines 2884-2890) Link reference definitions
[foo]: /url\bar\*baz "foo\"bar\baz"
[foo]
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url%5Cbar*baz" title="foo"bar\baz">foo</a></p>
+<p>[foo]: /url\bar*baz "foo"bar\baz"[foo]</p>
Example 168 (lines 2895-2901) Link reference definitions
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="url">foo</a></p>
+<p>[foo][foo]: url</p>
Example 169 (lines 2907-2914) Link reference definitions
[foo]
[foo]: first
[foo]: second
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="first">foo</a></p>
+<p>[foo][foo]: first[foo]: second</p>
Example 170 (lines 2920-2926) Link reference definitions
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url">Foo</a></p>
+
Example 171 (lines 2929-2935) Link reference definitions
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/%CF%86%CE%BF%CF%85">αγω</a></p>
+
Example 172 (lines 2941-2944) Link reference definitions
--- expected HTML
+++ actual HTML
@@ -0,0 +1 @@
+
Example 173 (lines 2949-2956) Link reference definitions
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>bar</p>
+
Example 175 (lines 2971-2976) Link reference definitions
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>"title" ok</p>
+<p>[foo]: /url"title" ok</p>
Example 176 (lines 2982-2990) Link reference definitions
[foo]: /url "title"
[foo]
--- expected HTML
+++ actual HTML
@@ -1,3 +1,2 @@
-<pre><code>[foo]: /url "title"
+<pre><code>[foo]: /url "title"[foo]
</code></pre>
-<p>[foo]</p>
Example 177 (lines 2996-3006) Link reference definitions
```
[foo]: /url
```
[foo]
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<pre><code>[foo]: /url
-</code></pre>
-<p>[foo]</p>
+<p><code>[foo]: /url</code>[foo]</p>
Example 178 (lines 3011-3020) Link reference definitions
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p>Foo
-[bar]: /baz</p>
-<p>[bar]</p>
+<p>Foo[bar]: /baz[bar]</p>
Example 179 (lines 3026-3035) Link reference definitions
# [Foo]
[foo]: /url
> bar
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<h1><a href="/url">Foo</a></h1>
-<blockquote>
-<p>bar</p>
-</blockquote>
+<h1>[Foo][foo]: /url> bar</h1>
Example 180 (lines 3041-3054) Link reference definitions
[foo]: /foo-url "foo"
[bar]: /bar-url
"bar"
[baz]: /baz-url
[foo],
[bar],
[baz]
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p><a href="/foo-url" title="foo">foo</a>,
-<a href="/bar-url" title="bar">bar</a>,
-<a href="/baz-url">baz</a></p>
+<p>[foo]: /foo-url "foo"[bar]: /bar-url "bar"[baz]: /baz-url[foo],[bar],[baz]</p>
Example 181 (lines 3062-3070) Link reference definitions
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p><a href="/url">foo</a></p>
-<blockquote>
-</blockquote>
+<p>[foo]> [foo]: /url</p>
Example 182 (lines 3085-3092) Paragraphs
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>aaa</p>
-<p>bbb</p>
+<p>aaabbb</p>
Example 183 (lines 3097-3108) Paragraphs
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>aaa
-bbb</p>
-<p>ccc
-ddd</p>
+<p>aaabbbcccddd</p>
Example 184 (lines 3113-3121) Paragraphs
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>aaa</p>
-<p>bbb</p>
+<p>aaabbb</p>
Example 187 (lines 3152-3158) Paragraphs
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>aaa
-bbb</p>
+<p>aaabbb</p>
Example 188 (lines 3161-3168) Paragraphs
--- expected HTML
+++ actual HTML
@@ -1,3 +1,2 @@
-<pre><code>aaa
+<pre><code>aaabbb
</code></pre>
-<p>bbb</p>
Example 189 (lines 3175-3181) Paragraphs
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>aaa<br />
-bbb</p>
+<p>aaa bbb</p>
Example 190 (lines 3192-3204) Blank lines
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>aaa</p>
-<h1>aaa</h1>
+<p>aaa # aaa</p>
Example 191 (lines 3258-3268) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<blockquote>
-<h1>Foo</h1>
-<p>bar
-baz</p>
+<h1>Foo> bar> baz</h1>
</blockquote>
Example 192 (lines 3273-3283) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<blockquote>
-<h1>Foo</h1>
-<p>bar
-baz</p>
+<h1>Foo>bar> baz</h1>
</blockquote>
Example 193 (lines 3288-3298) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<blockquote>
-<h1>Foo</h1>
-<p>bar
-baz</p>
+<h1>Foo > bar > baz</h1>
</blockquote>
Example 194 (lines 3303-3312) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,4 +1,2 @@
-<pre><code>> # Foo
-> bar
-> baz
+<pre><code>> # Foo > bar > baz
</code></pre>
Example 195 (lines 3318-3328) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<blockquote>
-<h1>Foo</h1>
-<p>bar
-baz</p>
+<h1>Foo> barbaz</h1>
</blockquote>
Example 196 (lines 3334-3344) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<blockquote>
-<p>bar
-baz
-foo</p>
+<p>barbaz> foo</p>
</blockquote>
Example 197 (lines 3358-3366) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<blockquote>
-<p>foo</p>
+<p>foo---</p>
</blockquote>
-<hr />
Example 198 (lines 3378-3390) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,8 +1,5 @@
<blockquote>
<ul>
-<li>foo</li>
+<li>foo- bar</li>
</ul>
</blockquote>
-<ul>
-<li>bar</li>
-</ul>
Example 199 (lines 3396-3406) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,6 +1,4 @@
<blockquote>
-<pre><code>foo
+<pre><code>foo bar
</code></pre>
</blockquote>
-<pre><code>bar
-</code></pre>
Example 200 (lines 3409-3419) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<blockquote>
-<pre><code></code></pre>
+<p><code>foo</code></p>
</blockquote>
-<p>foo</p>
-<pre><code></code></pre>
Example 203 (lines 3457-3464) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,2 +1,6 @@
+<blockquote>
+<blockquote>
<blockquote>
</blockquote>
+</blockquote>
+</blockquote>
Example 204 (lines 3469-3477) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,3 +1,5 @@
<blockquote>
-<p>foo</p>
+<blockquote>
+<p>foo></p>
</blockquote>
+</blockquote>
Example 205 (lines 3482-3493) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,6 +1,3 @@
<blockquote>
-<p>foo</p>
+<p>foo> bar</p>
</blockquote>
-<blockquote>
-<p>bar</p>
-</blockquote>
Example 206 (lines 3504-3512) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<blockquote>
-<p>foo
-bar</p>
+<p>foo> bar</p>
</blockquote>
Example 207 (lines 3517-3526) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<blockquote>
-<p>foo</p>
-<p>bar</p>
+<p>foo>> bar</p>
</blockquote>
Example 208 (lines 3531-3539) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>foo</p>
-<blockquote>
-<p>bar</p>
-</blockquote>
+<p>foo> bar</p>
Example 209 (lines 3545-3557) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<blockquote>
-<p>aaa</p>
+<p>aaa***> bbb</p>
</blockquote>
-<hr />
-<blockquote>
-<p>bbb</p>
-</blockquote>
Example 210 (lines 3563-3571) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<blockquote>
-<p>bar
-baz</p>
+<p>barbaz</p>
</blockquote>
Example 211 (lines 3574-3583) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<blockquote>
-<p>bar</p>
+<p>barbaz</p>
</blockquote>
-<p>baz</p>
Example 212 (lines 3586-3595) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<blockquote>
-<p>bar</p>
+<p>bar>baz</p>
</blockquote>
-<p>baz</p>
Example 213 (lines 3602-3614) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,8 +1,7 @@
<blockquote>
<blockquote>
<blockquote>
-<p>foo
-bar</p>
+<p>foobar</p>
</blockquote>
</blockquote>
</blockquote>
Example 214 (lines 3617-3631) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,9 +1,7 @@
<blockquote>
<blockquote>
<blockquote>
-<p>foo
-bar
-baz</p>
+<p>foo> bar>>baz</p>
</blockquote>
</blockquote>
</blockquote>
Example 215 (lines 3639-3651) Block quotes
--- expected HTML
+++ actual HTML
@@ -1,7 +1,4 @@
<blockquote>
-<pre><code>code
+<pre><code>code> not code
</code></pre>
</blockquote>
-<blockquote>
-<p>not code</p>
-</blockquote>
Example 216 (lines 3694-3709) List items
A paragraph
with two lines.
indented code
> A block quote.
--- expected HTML
+++ actual HTML
@@ -1,7 +1 @@
-<p>A paragraph
-with two lines.</p>
-<pre><code>indented code
-</code></pre>
-<blockquote>
-<p>A block quote.</p>
-</blockquote>
+<p>A paragraphwith two lines. indented code> A block quote.</p>
Example 217 (lines 3716-3735) List items
1. A paragraph
with two lines.
indented code
> A block quote.
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ol>
-<li>
-<p>A paragraph
-with two lines.</p>
-<pre><code>indented code
-</code></pre>
-<blockquote>
-<p>A block quote.</p>
-</blockquote>
-</li>
+<li>A paragraph with two lines. indented code > A block quote.</li>
</ol>
Example 218 (lines 3749-3758) List items
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<ul>
-<li>one</li>
+<li>one two</li>
</ul>
-<p>two</p>
Example 219 (lines 3761-3772) List items
--- expected HTML
+++ actual HTML
@@ -1,6 +1,3 @@
<ul>
-<li>
-<p>one</p>
-<p>two</p>
-</li>
+<li>one two</li>
</ul>
Example 220 (lines 3775-3785) List items
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<ul>
-<li>one</li>
+<li>one two</li>
</ul>
-<pre><code> two
-</code></pre>
Example 221 (lines 3788-3799) List items
--- expected HTML
+++ actual HTML
@@ -1,6 +1,3 @@
<ul>
-<li>
-<p>one</p>
-<p>two</p>
-</li>
+<li>one two</li>
</ul>
Example 222 (lines 3810-3825) List items
--- expected HTML
+++ actual HTML
@@ -1,10 +1,7 @@
<blockquote>
<blockquote>
<ol>
-<li>
-<p>one</p>
-<p>two</p>
-</li>
+<li>one>>>> two</li>
</ol>
</blockquote>
</blockquote>
Example 223 (lines 3837-3850) List items
--- expected HTML
+++ actual HTML
@@ -1,8 +1,7 @@
<blockquote>
<blockquote>
<ul>
-<li>one</li>
+<li>one>> > > two</li>
</ul>
-<p>two</p>
</blockquote>
</blockquote>
Example 224 (lines 3856-3863) List items
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>-one</p>
-<p>2.two</p>
+<p>-one2.two</p>
Example 225 (lines 3869-3881) List items
--- expected HTML
+++ actual HTML
@@ -1,6 +1,3 @@
<ul>
-<li>
-<p>foo</p>
-<p>bar</p>
-</li>
+<li>foo bar</li>
</ul>
Example 226 (lines 3886-3908) List items
1. foo
```
bar
```
baz
> bam
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ol>
-<li>
-<p>foo</p>
-<pre><code>bar
-</code></pre>
-<p>baz</p>
-<blockquote>
-<p>bam</p>
-</blockquote>
-</li>
+<li>foo <code>bar</code> baz > bam</li>
</ol>
Example 227 (lines 3914-3932) List items
--- expected HTML
+++ actual HTML
@@ -1,10 +1,3 @@
<ul>
-<li>
-<p>Foo</p>
-<pre><code>bar
-
-
-baz
-</code></pre>
-</li>
+<li>Foo bar baz</li>
</ul>
Example 233 (lines 3998-4010) List items
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<ul>
-<li>
-<p>foo</p>
-<pre><code>bar
-</code></pre>
-</li>
+<li>foo bar</li>
</ul>
Example 234 (lines 4015-4027) List items
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<ol start="10">
-<li>
-<p>foo</p>
-<pre><code>bar
-</code></pre>
-</li>
+<li>foo bar</li>
</ol>
Example 235 (lines 4034-4046) List items
indented code
paragraph
more code
--- expected HTML
+++ actual HTML
@@ -1,5 +1,2 @@
-<pre><code>indented code
+<pre><code>indented codeparagraph more code
</code></pre>
-<p>paragraph</p>
-<pre><code>more code
-</code></pre>
Example 236 (lines 4049-4065) List items
1. indented code
paragraph
more code
--- expected HTML
+++ actual HTML
@@ -1,9 +1,6 @@
<ol>
<li>
-<pre><code>indented code
-</code></pre>
-<p>paragraph</p>
-<pre><code>more code
+<pre><code>indented code paragraph more code
</code></pre>
</li>
</ol>
Example 237 (lines 4071-4087) List items
1. indented code
paragraph
more code
--- expected HTML
+++ actual HTML
@@ -1,9 +1,6 @@
<ol>
<li>
-<pre><code> indented code
-</code></pre>
-<p>paragraph</p>
-<pre><code>more code
+<pre><code> indented code paragraph more code
</code></pre>
</li>
</ol>
Example 238 (lines 4098-4105) List items
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>foo</p>
-<p>bar</p>
+<p>foobar</p>
Example 239 (lines 4108-4117) List items
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<ul>
-<li>foo</li>
+<li>foo bar</li>
</ul>
-<p>bar</p>
Example 240 (lines 4125-4136) List items
--- expected HTML
+++ actual HTML
@@ -1,6 +1,3 @@
<ul>
-<li>
-<p>foo</p>
-<p>bar</p>
-</li>
+<li>foo bar</li>
</ul>
Example 241 (lines 4153-4174) List items
-
foo
-
```
bar
```
-
baz
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ul>
-<li>foo</li>
-<li>
-<pre><code>bar
-</code></pre>
-</li>
-<li>
-<pre><code>baz
-</code></pre>
-</li>
+<li>foo- <code>bar</code>- baz</li>
</ul>
Example 242 (lines 4179-4186) List items
--- expected HTML
+++ actual HTML
@@ -1,3 +1,6 @@
<ul>
-<li>foo</li>
+<li>
+<pre><code>foo
+</code></pre>
+</li>
</ul>
Example 243 (lines 4193-4202) List items
--- expected HTML
+++ actual HTML
@@ -1,4 +1,3 @@
<ul>
-<li></li>
+<li>foo</li>
</ul>
-<p>foo</p>
Example 244 (lines 4207-4217) List items
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<ul>
-<li>foo</li>
-<li></li>
-<li>bar</li>
+<li>foo-- bar</li>
</ul>
Example 245 (lines 4222-4232) List items
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<ul>
-<li>foo</li>
-<li></li>
-<li>bar</li>
+<li>foo- - bar</li>
</ul>
Example 246 (lines 4237-4247) List items
--- expected HTML
+++ actual HTML
@@ -1,5 +1,3 @@
<ol>
-<li>foo</li>
-<li></li>
-<li>bar</li>
+<li>foo2.3. bar</li>
</ol>
Example 248 (lines 4262-4273) List items
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>foo
-*</p>
-<p>foo
-1.</p>
+<p>foo*foo1.</p>
Example 249 (lines 4284-4303) List items
1. A paragraph
with two lines.
indented code
> A block quote.
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ol>
-<li>
-<p>A paragraph
-with two lines.</p>
-<pre><code>indented code
-</code></pre>
-<blockquote>
-<p>A block quote.</p>
-</blockquote>
-</li>
+<li>A paragraph with two lines. indented code > A block quote.</li>
</ol>
Example 250 (lines 4308-4327) List items
1. A paragraph
with two lines.
indented code
> A block quote.
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ol>
-<li>
-<p>A paragraph
-with two lines.</p>
-<pre><code>indented code
-</code></pre>
-<blockquote>
-<p>A block quote.</p>
-</blockquote>
-</li>
+<li>A paragraph with two lines. indented code > A block quote.</li>
</ol>
Example 251 (lines 4332-4351) List items
1. A paragraph
with two lines.
indented code
> A block quote.
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ol>
-<li>
-<p>A paragraph
-with two lines.</p>
-<pre><code>indented code
-</code></pre>
-<blockquote>
-<p>A block quote.</p>
-</blockquote>
-</li>
+<li>A paragraph with two lines. indented code > A block quote.</li>
</ol>
Example 252 (lines 4356-4371) List items
1. A paragraph
with two lines.
indented code
> A block quote.
--- expected HTML
+++ actual HTML
@@ -1,7 +1,2 @@
-<pre><code>1. A paragraph
- with two lines.
-
- indented code
-
- > A block quote.
+<pre><code>1. A paragraph with two lines. indented code > A block quote.
</code></pre>
Example 253 (lines 4386-4405) List items
1. A paragraph
with two lines.
indented code
> A block quote.
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ol>
-<li>
-<p>A paragraph
-with two lines.</p>
-<pre><code>indented code
-</code></pre>
-<blockquote>
-<p>A block quote.</p>
-</blockquote>
-</li>
+<li>A paragraphwith two lines. indented code > A block quote.</li>
</ol>
Example 255 (lines 4423-4437) List items
> 1. > Blockquote
continued here.
--- expected HTML
+++ actual HTML
@@ -2,8 +2,7 @@
<ol>
<li>
<blockquote>
-<p>Blockquote
-continued here.</p>
+<p>Blockquotecontinued here.</p>
</blockquote>
</li>
</ol>
Example 256 (lines 4440-4454) List items
> 1. > Blockquote
> continued here.
--- expected HTML
+++ actual HTML
@@ -2,8 +2,7 @@
<ol>
<li>
<blockquote>
-<p>Blockquote
-continued here.</p>
+<p>Blockquote> continued here.</p>
</blockquote>
</li>
</ol>
Example 257 (lines 4467-4488) List items
--- expected HTML
+++ actual HTML
@@ -1,15 +1,3 @@
<ul>
-<li>foo
-<ul>
-<li>bar
-<ul>
-<li>baz
-<ul>
-<li>boo</li>
+<li>foo - bar - baz - boo</li>
</ul>
-</li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
Example 258 (lines 4493-4505) List items
--- expected HTML
+++ actual HTML
@@ -1,6 +1,3 @@
<ul>
-<li>foo</li>
-<li>bar</li>
-<li>baz</li>
-<li>boo</li>
+<li>foo - bar - baz - boo</li>
</ul>
Example 259 (lines 4510-4521) List items
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<ol start="10">
-<li>foo
-<ul>
-<li>bar</li>
-</ul>
-</li>
+<li>foo - bar</li>
</ol>
Example 260 (lines 4526-4536) List items
--- expected HTML
+++ actual HTML
@@ -1,6 +1,3 @@
<ol start="10">
-<li>foo</li>
+<li>foo - bar</li>
</ol>
-<ul>
-<li>bar</li>
-</ul>
Example 263 (lines 4573-4587) List items
--- expected HTML
+++ actual HTML
@@ -1,8 +1,5 @@
<ul>
<li>
-<h1>Foo</h1>
+<h1>Foo- Bar --- baz</h1>
</li>
-<li>
-<h2>Bar</h2>
-baz</li>
</ul>
Example 264 (lines 4809-4821) Lists
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<ul>
-<li>foo</li>
-<li>bar</li>
+<li>foo- bar+ baz</li>
</ul>
-<ul>
-<li>baz</li>
-</ul>
Example 265 (lines 4824-4836) Lists
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<ol>
-<li>foo</li>
-<li>bar</li>
+<li>foo2. bar3) baz</li>
</ol>
-<ol start="3">
-<li>baz</li>
-</ol>
Example 266 (lines 4843-4853) Lists
--- expected HTML
+++ actual HTML
@@ -1,5 +1 @@
-<p>Foo</p>
-<ul>
-<li>bar</li>
-<li>baz</li>
-</ul>
+<p>Foo- bar- baz</p>
Example 267 (lines 4920-4926) Lists
The number of windows in my house is
14. The number of doors is 6.
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>The number of windows in my house is
-14. The number of doors is 6.</p>
+<p>The number of windows in my house is14. The number of doors is 6.</p>
Example 268 (lines 4930-4938) Lists
The number of windows in my house is
1. The number of doors is 6.
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>The number of windows in my house is</p>
-<ol>
-<li>The number of doors is 6.</li>
-</ol>
+<p>The number of windows in my house is1. The number of doors is 6.</p>
Example 269 (lines 4944-4963) Lists
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ul>
-<li>
-<p>foo</p>
-</li>
-<li>
-<p>bar</p>
-</li>
-<li>
-<p>baz</p>
-</li>
+<li>foo- bar- baz</li>
</ul>
Example 270 (lines 4965-4987) Lists
--- expected HTML
+++ actual HTML
@@ -1,14 +1,3 @@
<ul>
-<li>foo
-<ul>
-<li>bar
-<ul>
-<li>
-<p>baz</p>
-<p>bim</p>
-</li>
+<li>foo - bar - baz bim</li>
</ul>
-</li>
-</ul>
-</li>
-</ul>
Example 271 (lines 4995-5013) Lists
- foo
- bar
<!-- -->
- baz
- bim
--- expected HTML
+++ actual HTML
@@ -1,9 +1,3 @@
<ul>
-<li>foo</li>
-<li>bar</li>
+<li>foo- bar<!-- -->- baz- bim</li>
</ul>
-<!-- -->
-<ul>
-<li>baz</li>
-<li>bim</li>
-</ul>
Example 272 (lines 5016-5039) Lists
- foo
notcode
- foo
<!-- -->
code
--- expected HTML
+++ actual HTML
@@ -1,12 +1,3 @@
<ul>
-<li>
-<p>foo</p>
-<p>notcode</p>
-</li>
-<li>
-<p>foo</p>
-</li>
+<li>foo notcode- foo<!-- --> code</li>
</ul>
-<!-- -->
-<pre><code>code
-</code></pre>
Example 273 (lines 5047-5069) Lists
- a
- b
- c
- d
- e
- f
- g
- h
- i
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ul>
-<li>a</li>
-<li>b</li>
-<li>c</li>
-<li>d</li>
-<li>e</li>
-<li>f</li>
-<li>g</li>
-<li>h</li>
-<li>i</li>
+<li>a - b - c - d - e - f - g - h- i</li>
</ul>
Example 274 (lines 5072-5090) Lists
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ol>
-<li>
-<p>a</p>
-</li>
-<li>
-<p>b</p>
-</li>
-<li>
-<p>c</p>
-</li>
+<li>a 2. b 3. c</li>
</ol>
Example 275 (lines 5096-5113) Lists
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ul>
-<li>
-<p>a</p>
-</li>
-<li>
-<p>b</p>
-</li>
-<li>
-<p>c</p>
-</li>
+<li>a- b- c</li>
</ul>
Example 276 (lines 5118-5133) Lists
--- expected HTML
+++ actual HTML
@@ -1,9 +1,3 @@
<ul>
-<li>
-<p>a</p>
-</li>
-<li></li>
-<li>
-<p>c</p>
-</li>
+<li>a** c</li>
</ul>
Example 277 (lines 5140-5159) Lists
--- expected HTML
+++ actual HTML
@@ -1,12 +1,3 @@
<ul>
-<li>
-<p>a</p>
-</li>
-<li>
-<p>b</p>
-<p>c</p>
-</li>
-<li>
-<p>d</p>
-</li>
+<li>a- b c- d</li>
</ul>
Example 278 (lines 5162-5180) Lists
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ul>
-<li>
-<p>a</p>
-</li>
-<li>
-<p>b</p>
-</li>
-<li>
-<p>d</p>
-</li>
+<li>a- b [ref]: /url- d</li>
</ul>
Example 279 (lines 5185-5204) Lists
--- expected HTML
+++ actual HTML
@@ -1,10 +1,3 @@
<ul>
-<li>a</li>
-<li>
-<pre><code>b
-
-
-</code></pre>
-</li>
-<li>c</li>
+<li>a- <code>b</code>- c</li>
</ul>
Example 280 (lines 5211-5229) Lists
--- expected HTML
+++ actual HTML
@@ -1,11 +1,3 @@
<ul>
-<li>a
-<ul>
-<li>
-<p>b</p>
-<p>c</p>
-</li>
+<li>a - b c- d</li>
</ul>
-</li>
-<li>d</li>
-</ul>
Example 281 (lines 5235-5249) Lists
--- expected HTML
+++ actual HTML
@@ -1,8 +1,3 @@
<ul>
-<li>a
-<blockquote>
-<p>b</p>
-</blockquote>
-</li>
-<li>c</li>
+<li>a > b >* c</li>
</ul>
Example 282 (lines 5255-5273) Lists
--- expected HTML
+++ actual HTML
@@ -1,10 +1,3 @@
<ul>
-<li>a
-<blockquote>
-<p>b</p>
-</blockquote>
-<pre><code>c
-</code></pre>
-</li>
-<li>d</li>
+<li>a > b <code>c</code>- d</li>
</ul>
Example 284 (lines 5287-5298) Lists
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<ul>
-<li>a
-<ul>
-<li>b</li>
+<li>a - b</li>
</ul>
-</li>
-</ul>
Example 285 (lines 5304-5318) Lists
--- expected HTML
+++ actual HTML
@@ -1,7 +1,3 @@
<ol>
-<li>
-<pre><code>foo
-</code></pre>
-<p>bar</p>
-</li>
+<li><code>foo</code> bar</li>
</ol>
Example 286 (lines 5323-5338) Lists
--- expected HTML
+++ actual HTML
@@ -1,9 +1,3 @@
<ul>
-<li>
-<p>foo</p>
-<ul>
-<li>bar</li>
+<li>foo * bar baz</li>
</ul>
-<p>baz</p>
-</li>
-</ul>
Example 287 (lines 5341-5366) Lists
--- expected HTML
+++ actual HTML
@@ -1,16 +1,3 @@
<ul>
-<li>
-<p>a</p>
-<ul>
-<li>b</li>
-<li>c</li>
+<li>a - b - c- d - e - f</li>
</ul>
-</li>
-<li>
-<p>d</p>
-<ul>
-<li>e</li>
-<li>f</li>
-</ul>
-</li>
-</ul>
Example 291 (lines 5409-5427) Backslash escapes
\*not emphasized*
\<br/> not a tag
\[not a link](/foo)
\`not code`
1\. not a list
\* not a list
\# not a heading
\[foo]: /url "not a reference"
--- expected HTML
+++ actual HTML
@@ -1,8 +1 @@
-<p>*not emphasized*
-<br/> not a tag
-[not a link](/foo)
-`not code`
-1. not a list
-* not a list
-# not a heading
-[foo]: /url "not a reference"</p>
+<p>*not emphasized*<br/> not a tag[not a link](/foo)`not code`1. not a list* not a list# not a heading[foo]: /url "not a reference"</p>
Example 293 (lines 5441-5447) Backslash escapes
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>foo<br />
-bar</p>
+<p>foo\bar</p>
Example 296 (lines 5468-5475) Backslash escapes
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<pre><code>\[\]
-</code></pre>
+<p>~~~[]~~~</p>
Example 300 (lines 5502-5508) Backslash escapes
[foo]
[foo]: /bar\* "ti\*tle"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/bar*" title="ti*tle">foo</a></p>
+<p>[foo][foo]: /bar* "ti*tle"</p>
Example 301 (lines 5511-5518) Backslash escapes
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<pre><code class="language-foo+bar">foo
-</code></pre>
+<p><code>foo\+barfoo</code></p>
Example 302 (lines 5538-5546) Entity and numeric character references
& © Æ Ď
¾ ℋ ⅆ
∲ ≧̸
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p> & © Æ Ď
-¾ ℋ ⅆ
-∲ ≧̸</p>
+<p> & © Æ Ď¾ ℋ ⅆ∲ ≧̸</p>
Example 305 (lines 5579-5585) Entity and numeric character references
  &x; &#; &#x;
&ThisIsNotDefined; &hi?;
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>&nbsp &x; &#; &#x;
-&ThisIsNotDefined; &hi?;</p>
+<p>&nbsp &x; &#; &#x;&ThisIsNotDefined; &hi?;</p>
Example 310 (lines 5627-5633) Entity and numeric character references
[foo]
[foo]: /föö "föö"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/f%C3%B6%C3%B6" title="föö">foo</a></p>
+<p>[foo][foo]: /föö "föö"</p>
Example 311 (lines 5636-5643) Entity and numeric character references
``` föö
foo
```
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<pre><code class="language-föö">foo
-</code></pre>
+<p><code>f&ouml;&ouml;foo</code></p>
Example 347 (lines 6211-6217) Emphasis and strong emphasis
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>*foo bar
-*</p>
+<p><em>foo bar</em></p>
Example 364 (lines 6375-6381) Emphasis and strong emphasis
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>__
-foo bar__</p>
+<p><strong>foo bar</strong></p>
Example 374 (lines 6471-6477) Emphasis and strong emphasis
**Gomphocarpus (*Gomphocarpus physocarpus*, syn.
*Asclepias physocarpa*)**
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><strong>Gomphocarpus (<em>Gomphocarpus physocarpus</em>, syn.
-<em>Asclepias physocarpa</em>)</strong></p>
+<p><strong>Gomphocarpus (<em>Gomphocarpus physocarpus</em>, syn.<em>Asclepias physocarpa</em>)</strong></p>
Example 385 (lines 6574-6580) Emphasis and strong emphasis
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><em>foo
-bar</em></p>
+<p><em>foobar</em></p>
Example 400 (lines 6711-6717) Emphasis and strong emphasis
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><strong>foo
-bar</strong></p>
+<p><strong>foobar</strong></p>
Example 409 (lines 6781-6787) Emphasis and strong emphasis
**foo *bar **baz**
bim* bop**
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><strong>foo <em>bar <strong>baz</strong>
-bim</em> bop</strong></p>
+<p><strong>foo <em>bar <strong>baz</strong>bim</em> bop</strong></p>
Example 465 (lines 7290-7296) Links
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>[link](foo
-bar)</p>
+<p><a href="foobar">link</a></p>
Example 466 (lines 7299-7305) Links
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>[link](<foo
-bar>)</p>
+<p><a href="foobar">link</a></p>
Example 472 (lines 7353-7363) Links
[link](#fragment)
[link](http://example.com#fragment)
[link](http://example.com?foo=3#frag)
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p><a href="#fragment">link</a></p>
-<p><a href="http://example.com#fragment">link</a></p>
-<p><a href="http://example.com?foo=3#frag">link</a></p>
+<p><a href="#fragment">link</a><a href="http://example.com#fragment">link</a><a href="http://example.com?foo=3#frag">link</a></p>
Example 476 (lines 7405-7413) Links
[link](/url "title")
[link](/url 'title')
[link](/url (title))
--- expected HTML
+++ actual HTML
@@ -1,3 +1 @@
-<p><a href="/url" title="title">link</a>
-<a href="/url" title="title">link</a>
-<a href="/url" title="title">link</a></p>
+<p><a href="/url" title="title">link</a><a href="/url" title="title">link</a><a href="/url" title="title">link</a></p>
Example 498 (lines 7641-7647) Links
[foo][bar]
[bar]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url" title="title">foo</a></p>
+<p>[foo][bar][bar]: /url "title"</p>
Example 499 (lines 7656-7662) Links
[link [foo [bar]]][ref]
[ref]: /uri
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/uri">link [foo [bar]]</a></p>
+<p>[link [foo [bar]]][ref][ref]: /uri</p>
Example 500 (lines 7665-7671) Links
[link \[bar][ref]
[ref]: /uri
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/uri">link [bar</a></p>
+<p>[link [bar][ref][ref]: /uri</p>
Example 501 (lines 7676-7682) Links
[link *foo **bar** `#`*][ref]
[ref]: /uri
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
+<p>[link <em>foo <strong>bar</strong> <code>#</code></em>][ref][ref]: /uri</p>
Example 502 (lines 7685-7691) Links
[![moon](moon.jpg)][ref]
[ref]: /uri
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
+<p>[<img src="moon.jpg" alt="moon" />][ref][ref]: /uri</p>
Example 503 (lines 7696-7702) Links
[foo [bar](/uri)][ref]
[ref]: /uri
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[foo <a href="/uri">bar</a>]<a href="/uri">ref</a></p>
+<p>[foo <a href="/uri">bar</a>][ref][ref]: /uri</p>
Example 504 (lines 7705-7711) Links
[foo *bar [baz][ref]*][ref]
[ref]: /uri
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[foo <em>bar <a href="/uri">baz</a></em>]<a href="/uri">ref</a></p>
+<p>[foo <em>bar [baz][ref]</em>][ref][ref]: /uri</p>
Example 505 (lines 7720-7726) Links
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>*<a href="/uri">foo*</a></p>
+<p><em>[foo</em>][ref][ref]: /uri</p>
Example 506 (lines 7729-7735) Links
[foo *bar][ref]
[ref]: /uri
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/uri">foo *bar</a></p>
+<p>[foo *bar][ref][ref]: /uri</p>
Example 507 (lines 7741-7747) Links
[foo <bar attr="][ref]">
[ref]: /uri
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[foo <bar attr="][ref]"></p>
+<p>[foo <bar attr="][ref]">[ref]: /uri</p>
Example 508 (lines 7750-7756) Links
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[foo<code>][ref]</code></p>
+<p>[foo<code>][ref]</code>[ref]: /uri</p>
Example 509 (lines 7759-7765) Links
[foo<http://example.com/?search=][ref]>
[ref]: /uri
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[foo<a href="http://example.com/?search=%5D%5Bref%5D">http://example.com/?search=][ref]</a></p>
+<p>[foo<a href="http://example.com/?search=%5D%5Bref%5D">http://example.com/?search=][ref]</a>[ref]: /uri</p>
Example 510 (lines 7770-7776) Links
[foo][BaR]
[bar]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url" title="title">foo</a></p>
+<p>[foo][BaR][bar]: /url "title"</p>
Example 511 (lines 7781-7787) Links
[Толпой][Толпой] is a Russian word.
[ТОЛПОЙ]: /url
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url">Толпой</a> is a Russian word.</p>
+<p>[Толпой][Толпой] is a Russian word.[ТОЛПОЙ]: /url</p>
Example 512 (lines 7793-7800) Links
[Foo
bar]: /url
[Baz][Foo bar]
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url">Baz</a></p>
+<p>[Foo bar]: /url[Baz][Foo bar]</p>
Example 513 (lines 7806-7812) Links
[foo] [bar]
[bar]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[foo] <a href="/url" title="title">bar</a></p>
+<p>[foo] [bar][bar]: /url "title"</p>
Example 514 (lines 7815-7823) Links
[foo]
[bar]
[bar]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>[foo]
-<a href="/url" title="title">bar</a></p>
+<p>[foo][bar][bar]: /url "title"</p>
Example 515 (lines 7856-7864) Links
[foo]: /url1
[foo]: /url2
[bar][foo]
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url1">bar</a></p>
+<p>[foo]: /url1[foo]: /url2[bar][foo]</p>
Example 516 (lines 7871-7877) Links
[bar][foo\!]
[foo!]: /url
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[bar][foo!]</p>
+<p>[bar][foo!][foo!]: /url</p>
Example 517 (lines 7883-7890) Links
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>[foo][ref[]</p>
-<p>[ref[]: /uri</p>
+<p>[foo][ref[][ref[]: /uri</p>
Example 518 (lines 7893-7900) Links
[foo][ref[bar]]
[ref[bar]]: /uri
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>[foo][ref[bar]]</p>
-<p>[ref[bar]]: /uri</p>
+<p>[foo][ref[bar]][ref[bar]]: /uri</p>
Example 519 (lines 7903-7910) Links
[[[foo]]]
[[[foo]]]: /url
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>[[[foo]]]</p>
-<p>[[[foo]]]: /url</p>
+<p>[[[foo]]][[[foo]]]: /url</p>
Example 520 (lines 7913-7919) Links
[foo][ref\[]
[ref\[]: /uri
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/uri">foo</a></p>
+<p>[foo][ref[][ref[]: /uri</p>
Example 521 (lines 7924-7930) Links
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/uri">bar\</a></p>
+
Example 522 (lines 7935-7942) Links
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>[]</p>
-<p>[]: /uri</p>
+<p>[][]: /uri</p>
Example 523 (lines 7945-7956) Links
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>[
-]</p>
-<p>[
-]: /uri</p>
+<p>[ ][ ]: /uri</p>
Example 524 (lines 7968-7974) Links
[foo][]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url" title="title">foo</a></p>
+<p>[foo][][foo]: /url "title"</p>
Example 525 (lines 7977-7983) Links
[*foo* bar][]
[*foo* bar]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url" title="title"><em>foo</em> bar</a></p>
+<p>[<em>foo</em> bar][][<em>foo</em> bar]: /url "title"</p>
Example 526 (lines 7988-7994) Links
[Foo][]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url" title="title">Foo</a></p>
+<p>[Foo][][foo]: /url "title"</p>
Example 527 (lines 8001-8009) Links
[foo]
[]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><a href="/url" title="title">foo</a>
-[]</p>
+<p>[foo] [][foo]: /url "title"</p>
Example 528 (lines 8021-8027) Links
[foo]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url" title="title">foo</a></p>
+<p>[foo][foo]: /url "title"</p>
Example 529 (lines 8030-8036) Links
[*foo* bar]
[*foo* bar]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url" title="title"><em>foo</em> bar</a></p>
+<p>[<em>foo</em> bar][<em>foo</em> bar]: /url "title"</p>
Example 530 (lines 8039-8045) Links
[[*foo* bar]]
[*foo* bar]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[<a href="/url" title="title"><em>foo</em> bar</a>]</p>
+<p>[[<em>foo</em> bar]][<em>foo</em> bar]: /url "title"</p>
Example 531 (lines 8048-8054) Links
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[[bar <a href="/url">foo</a></p>
+<p>[[bar [foo][foo]: /url</p>
Example 532 (lines 8059-8065) Links
[Foo]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url" title="title">Foo</a></p>
+<p>[Foo][foo]: /url "title"</p>
Example 533 (lines 8070-8076) Links
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url">foo</a> bar</p>
+<p>[foo] bar[foo]: /url</p>
Example 534 (lines 8082-8088) Links
\[foo]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[foo]</p>
+<p>[foo][foo]: /url "title"</p>
Example 535 (lines 8094-8100) Links
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>*<a href="/url">foo*</a></p>
+
Example 536 (lines 8106-8113) Links
[foo][bar]
[foo]: /url1
[bar]: /url2
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url2">foo</a></p>
+<p>[foo][bar][foo]: /url1[bar]: /url2</p>
Example 537 (lines 8115-8121) Links
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url1">foo</a></p>
+<p>[foo][][foo]: /url1</p>
Example 538 (lines 8125-8131) Links
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="">foo</a></p>
+<p><a href="">foo</a>[foo]: /url1</p>
Example 539 (lines 8133-8139) Links
[foo](not a link)
[foo]: /url1
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url1">foo</a>(not a link)</p>
+<p>[foo](not a link)[foo]: /url1</p>
Example 540 (lines 8144-8150) Links
[foo][bar][baz]
[baz]: /url
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[foo]<a href="/url">bar</a></p>
+<p>[foo][bar][baz][baz]: /url</p>
Example 541 (lines 8156-8163) Links
[foo][bar][baz]
[baz]: /url1
[bar]: /url2
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><a href="/url2">foo</a><a href="/url1">baz</a></p>
+<p>[foo][bar][baz][baz]: /url1[bar]: /url2</p>
Example 542 (lines 8169-8176) Links
[foo][bar][baz]
[baz]: /url1
[foo]: /url2
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>[foo]<a href="/url1">bar</a></p>
+<p>[foo][bar][baz][baz]: /url1[foo]: /url2</p>
Example 544 (lines 8199-8205) Images
![foo *bar*]
[foo *bar*]: train.jpg "train & tracks"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="train.jpg" alt="foo bar" title="train & tracks" /></p>
+<p>![foo <em>bar</em>][foo <em>bar</em>]: train.jpg "train & tracks"</p>
Example 547 (lines 8229-8235) Images
![foo *bar*][]
[foo *bar*]: train.jpg "train & tracks"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="train.jpg" alt="foo bar" title="train & tracks" /></p>
+<p>![foo <em>bar</em>][][foo <em>bar</em>]: train.jpg "train & tracks"</p>
Example 548 (lines 8238-8244) Images
![foo *bar*][foobar]
[FOOBAR]: train.jpg "train & tracks"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="train.jpg" alt="foo bar" title="train & tracks" /></p>
+<p>![foo <em>bar</em>][foobar][FOOBAR]: train.jpg "train & tracks"</p>
Example 553 (lines 8277-8283) Images
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="/url" alt="foo" /></p>
+<p>![foo][bar][bar]: /url</p>
Example 554 (lines 8286-8292) Images
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="/url" alt="foo" /></p>
+<p>![foo][bar][BAR]: /url</p>
Example 555 (lines 8297-8303) Images
![foo][]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="/url" alt="foo" title="title" /></p>
+<p>![foo][][foo]: /url "title"</p>
Example 556 (lines 8306-8312) Images
![*foo* bar][]
[*foo* bar]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="/url" alt="foo bar" title="title" /></p>
+<p>![<em>foo</em> bar][][<em>foo</em> bar]: /url "title"</p>
Example 557 (lines 8317-8323) Images
![Foo][]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="/url" alt="Foo" title="title" /></p>
+<p>![Foo][][foo]: /url "title"</p>
Example 558 (lines 8329-8337) Images
![foo]
[]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><img src="/url" alt="foo" title="title" />
-[]</p>
+<p>![foo] [][foo]: /url "title"</p>
Example 559 (lines 8342-8348) Images
![foo]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="/url" alt="foo" title="title" /></p>
+<p>![foo][foo]: /url "title"</p>
Example 560 (lines 8351-8357) Images
![*foo* bar]
[*foo* bar]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="/url" alt="foo bar" title="title" /></p>
+<p>![<em>foo</em> bar][<em>foo</em> bar]: /url "title"</p>
Example 561 (lines 8362-8369) Images
![[foo]]
[[foo]]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>![[foo]]</p>
-<p>[[foo]]: /url "title"</p>
+<p>![[foo]][[foo]]: /url "title"</p>
Example 562 (lines 8374-8380) Images
![Foo]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><img src="/url" alt="Foo" title="title" /></p>
+<p>![Foo][foo]: /url "title"</p>
Example 563 (lines 8386-8392) Images
!\[foo]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>![foo]</p>
+<p>![foo][foo]: /url "title"</p>
Example 564 (lines 8398-8404) Images
\![foo]
[foo]: /url "title"
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p>!<a href="/url" title="title">foo</a></p>
+<p>![foo][foo]: /url "title"</p>
Example 586 (lines 8687-8693) Raw HTML
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><a /><b2
-data="foo" ></p>
+<p><a /><b2data="foo" ></p>
Example 587 (lines 8698-8704) Raw HTML
<a foo="bar" bam = 'baz <em>"</em>'
_boolean zoop:33=zoop:33 />
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><a foo="bar" bam = 'baz <em>"</em>'
-_boolean zoop:33=zoop:33 /></p>
+<p><a foo="bar" bam = 'baz <em>"</em>'_boolean zoop:33=zoop:33 /></p>
Example 592 (lines 8745-8755) Raw HTML
< a><
foo><bar/ >
<foo bar=baz
bim!bop />
--- expected HTML
+++ actual HTML
@@ -1,4 +1 @@
-<p>< a><
-foo><bar/ >
-<foo bar=baz
-bim!bop /></p>
+<p>< a><foo><bar/ ><foo bar=bazbim!bop /></p>
Example 596 (lines 8787-8793) Raw HTML
foo <!-- this is a
comment - with hyphen -->
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>foo <!-- this is a
-comment - with hyphen --></p>
+<p>foo <!-- this is acomment - with hyphen --></p>
Example 598 (lines 8805-8812) Raw HTML
foo <!--> foo -->
foo <!-- foo--->
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>foo <!--> foo --></p>
-<p>foo <!-- foo---></p>
+<p>foo <!--> foo -->foo <!-- foo---></p>
Example 605 (lines 8875-8881) Hard line breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>foo<br />
-baz</p>
+<p>foo baz</p>
Example 606 (lines 8887-8893) Hard line breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>foo<br />
-baz</p>
+<p>foo\baz</p>
Example 607 (lines 8898-8904) Hard line breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>foo<br />
-baz</p>
+<p>foo baz</p>
Example 608 (lines 8909-8915) Hard line breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>foo<br />
-bar</p>
+<p>foo bar</p>
Example 609 (lines 8918-8924) Hard line breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>foo<br />
-bar</p>
+<p>foo\ bar</p>
Example 610 (lines 8930-8936) Hard line breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><em>foo<br />
-bar</em></p>
+<p><em>foo bar</em></p>
Example 611 (lines 8939-8945) Hard line breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><em>foo<br />
-bar</em></p>
+<p><em>foo\bar</em></p>
Example 613 (lines 8958-8963) Hard line breaks
--- expected HTML
+++ actual HTML
@@ -1 +1 @@
-<p><code>code\ span</code></p>
+<p><code>code\span</code></p>
Example 614 (lines 8968-8974) Hard line breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><a href="foo
-bar"></p>
+<a href="foo bar">
Example 615 (lines 8977-8983) Hard line breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p><a href="foo\
-bar"></p>
+<a href="foo\bar">
Example 620 (lines 9026-9032) Soft line breaks
--- expected HTML
+++ actual HTML
@@ -1,2 +1 @@
-<p>foo
-baz</p>
+<p>foobaz</p>
301 passed, 323 failed, 0 errored, 0 skipped