diff --git a/tests/commonmark/100-Fenced_code_blocks.html b/tests/commonmark/100-Fenced_code_blocks.html new file mode 100644 index 0000000..def7f2a --- /dev/null +++ b/tests/commonmark/100-Fenced_code_blocks.html @@ -0,0 +1 @@ +
\ No newline at end of file
diff --git a/tests/commonmark/100-Fenced_code_blocks.md b/tests/commonmark/100-Fenced_code_blocks.md
new file mode 100644
index 0000000..3c20575
--- /dev/null
+++ b/tests/commonmark/100-Fenced_code_blocks.md
@@ -0,0 +1,2 @@
+```
+```
\ No newline at end of file
diff --git a/tests/commonmark/104-Fenced_code_blocks.html b/tests/commonmark/104-Fenced_code_blocks.html
index 690d624..f90b1f3 100644
--- a/tests/commonmark/104-Fenced_code_blocks.html
+++ b/tests/commonmark/104-Fenced_code_blocks.html
@@ -1,2 +1,4 @@
-aaa
+```
+aaa
+```
\ No newline at end of file
diff --git a/tests/commonmark/104-Fenced_code_blocks.md b/tests/commonmark/104-Fenced_code_blocks.md
index 60bf1e5..b250828 100644
--- a/tests/commonmark/104-Fenced_code_blocks.md
+++ b/tests/commonmark/104-Fenced_code_blocks.md
@@ -1,3 +1,3 @@
-```
-aaa
- ```
\ No newline at end of file
+ ```
+ aaa
+ ```
\ No newline at end of file
diff --git a/tests/commonmark/105-Fenced_code_blocks.md b/tests/commonmark/105-Fenced_code_blocks.md
index ae6f0e8..60bf1e5 100644
--- a/tests/commonmark/105-Fenced_code_blocks.md
+++ b/tests/commonmark/105-Fenced_code_blocks.md
@@ -1,3 +1,3 @@
- ```
+```
aaa
```
\ No newline at end of file
diff --git a/tests/commonmark/106-Fenced_code_blocks.html b/tests/commonmark/106-Fenced_code_blocks.html
new file mode 100644
index 0000000..690d624
--- /dev/null
+++ b/tests/commonmark/106-Fenced_code_blocks.html
@@ -0,0 +1,2 @@
+aaa
+
\ No newline at end of file
diff --git a/tests/commonmark/106-Fenced_code_blocks.md b/tests/commonmark/106-Fenced_code_blocks.md
new file mode 100644
index 0000000..ae6f0e8
--- /dev/null
+++ b/tests/commonmark/106-Fenced_code_blocks.md
@@ -0,0 +1,3 @@
+ ```
+aaa
+ ```
\ No newline at end of file
diff --git a/tests/commonmark/109-Fenced_code_blocks.html b/tests/commonmark/109-Fenced_code_blocks.html
index f6c67db..bccd082 100644
--- a/tests/commonmark/109-Fenced_code_blocks.html
+++ b/tests/commonmark/109-Fenced_code_blocks.html
@@ -1,4 +1,3 @@
-foo
-bar
-
-baz
\ No newline at end of file
+aaa
+~~~ ~~
+
\ No newline at end of file
diff --git a/tests/commonmark/109-Fenced_code_blocks.md b/tests/commonmark/109-Fenced_code_blocks.md
index 0540b9d..38450cc 100644
--- a/tests/commonmark/109-Fenced_code_blocks.md
+++ b/tests/commonmark/109-Fenced_code_blocks.md
@@ -1,5 +1,3 @@
-foo
-```
-bar
-```
-baz
\ No newline at end of file
+~~~~~~
+aaa
+~~~ ~~
\ No newline at end of file
diff --git a/tests/commonmark/110-Fenced_code_blocks.html b/tests/commonmark/110-Fenced_code_blocks.html
index f8b2659..f6c67db 100644
--- a/tests/commonmark/110-Fenced_code_blocks.html
+++ b/tests/commonmark/110-Fenced_code_blocks.html
@@ -1,4 +1,4 @@
-foo
+foo
bar
-baz
\ No newline at end of file
+baz
\ No newline at end of file
diff --git a/tests/commonmark/110-Fenced_code_blocks.md b/tests/commonmark/110-Fenced_code_blocks.md
index b28bff8..0540b9d 100644
--- a/tests/commonmark/110-Fenced_code_blocks.md
+++ b/tests/commonmark/110-Fenced_code_blocks.md
@@ -1,6 +1,5 @@
foo
----
-~~~
+```
bar
-~~~
-# baz
\ No newline at end of file
+```
+baz
\ No newline at end of file
diff --git a/tests/commonmark/111-Fenced_code_blocks.html b/tests/commonmark/111-Fenced_code_blocks.html
index cd2b8f4..f8b2659 100644
--- a/tests/commonmark/111-Fenced_code_blocks.html
+++ b/tests/commonmark/111-Fenced_code_blocks.html
@@ -1,4 +1,4 @@
-def foo(x)
- return 3
-end
-
\ No newline at end of file
+foo
+bar
+
+baz
\ No newline at end of file
diff --git a/tests/commonmark/111-Fenced_code_blocks.md b/tests/commonmark/111-Fenced_code_blocks.md
index cefccb0..b28bff8 100644
--- a/tests/commonmark/111-Fenced_code_blocks.md
+++ b/tests/commonmark/111-Fenced_code_blocks.md
@@ -1,5 +1,6 @@
-```ruby
-def foo(x)
- return 3
-end
-```
\ No newline at end of file
+foo
+---
+~~~
+bar
+~~~
+# baz
\ No newline at end of file
diff --git a/tests/commonmark/112-Fenced_code_blocks.md b/tests/commonmark/112-Fenced_code_blocks.md
index 63b9003..cefccb0 100644
--- a/tests/commonmark/112-Fenced_code_blocks.md
+++ b/tests/commonmark/112-Fenced_code_blocks.md
@@ -1,5 +1,5 @@
-~~~~ ruby startline=3 $%@#$
+```ruby
def foo(x)
return 3
end
-~~~~~~~
\ No newline at end of file
+```
\ No newline at end of file
diff --git a/tests/commonmark/113-Fenced_code_blocks.html b/tests/commonmark/113-Fenced_code_blocks.html
index 34db8c4..cd2b8f4 100644
--- a/tests/commonmark/113-Fenced_code_blocks.html
+++ b/tests/commonmark/113-Fenced_code_blocks.html
@@ -1 +1,4 @@
-
\ No newline at end of file
+def foo(x)
+ return 3
+end
+
\ No newline at end of file
diff --git a/tests/commonmark/113-Fenced_code_blocks.md b/tests/commonmark/113-Fenced_code_blocks.md
index 2b1f42a..63b9003 100644
--- a/tests/commonmark/113-Fenced_code_blocks.md
+++ b/tests/commonmark/113-Fenced_code_blocks.md
@@ -1,2 +1,5 @@
-````;
-````
\ No newline at end of file
+~~~~ ruby startline=3 $%@#$
+def foo(x)
+ return 3
+end
+~~~~~~~
\ No newline at end of file
diff --git a/tests/commonmark/114-Fenced_code_blocks.html b/tests/commonmark/114-Fenced_code_blocks.html
index 9da0fe5..34db8c4 100644
--- a/tests/commonmark/114-Fenced_code_blocks.html
+++ b/tests/commonmark/114-Fenced_code_blocks.html
@@ -1,2 +1 @@
-aa
-foo
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/114-Fenced_code_blocks.md b/tests/commonmark/114-Fenced_code_blocks.md
index 547eb8e..2b1f42a 100644
--- a/tests/commonmark/114-Fenced_code_blocks.md
+++ b/tests/commonmark/114-Fenced_code_blocks.md
@@ -1,2 +1,2 @@
-``` aa ```
-foo
\ No newline at end of file
+````;
+````
\ No newline at end of file
diff --git a/tests/commonmark/115-Fenced_code_blocks.html b/tests/commonmark/115-Fenced_code_blocks.html
new file mode 100644
index 0000000..9da0fe5
--- /dev/null
+++ b/tests/commonmark/115-Fenced_code_blocks.html
@@ -0,0 +1,2 @@
+aa
+foo
\ No newline at end of file
diff --git a/tests/commonmark/115-Fenced_code_blocks.md b/tests/commonmark/115-Fenced_code_blocks.md
new file mode 100644
index 0000000..547eb8e
--- /dev/null
+++ b/tests/commonmark/115-Fenced_code_blocks.md
@@ -0,0 +1,2 @@
+``` aa ```
+foo
\ No newline at end of file
diff --git a/tests/commonmark/117-Fenced_code_blocks.html b/tests/commonmark/117-Fenced_code_blocks.html
new file mode 100644
index 0000000..2329bb5
--- /dev/null
+++ b/tests/commonmark/117-Fenced_code_blocks.html
@@ -0,0 +1,2 @@
+``` aaa
+
\ No newline at end of file
diff --git a/tests/commonmark/117-Fenced_code_blocks.md b/tests/commonmark/117-Fenced_code_blocks.md
new file mode 100644
index 0000000..e8228e3
--- /dev/null
+++ b/tests/commonmark/117-Fenced_code_blocks.md
@@ -0,0 +1,3 @@
+```
+``` aaa
+```
\ No newline at end of file
diff --git a/tests/commonmark/118-HTML_blocks.html b/tests/commonmark/118-HTML_blocks.html
index 9e597dd..568cb0e 100644
--- a/tests/commonmark/118-HTML_blocks.html
+++ b/tests/commonmark/118-HTML_blocks.html
@@ -1,8 +1,6 @@
-
-
-
- hi
-
-
-
-okay.
\ No newline at end of file
+
+
+**Hello**,
+world.
+
+
\ No newline at end of file
diff --git a/tests/commonmark/118-HTML_blocks.md b/tests/commonmark/118-HTML_blocks.md
index e190b8f..2c31bb2 100644
--- a/tests/commonmark/118-HTML_blocks.md
+++ b/tests/commonmark/118-HTML_blocks.md
@@ -1,9 +1,7 @@
-
-
-
- hi
-
-
-
+
+
+**Hello**,
-okay.
\ No newline at end of file
+_world_.
+
+
\ No newline at end of file
diff --git a/tests/commonmark/119-HTML_blocks.html b/tests/commonmark/119-HTML_blocks.html
index 71a7903..9e597dd 100644
--- a/tests/commonmark/119-HTML_blocks.html
+++ b/tests/commonmark/119-HTML_blocks.html
@@ -1,3 +1,8 @@
-
- *hello*
-
\ No newline at end of file
+
+
+
+ hi
+
+
+
+okay.
\ No newline at end of file
diff --git a/tests/commonmark/119-HTML_blocks.md b/tests/commonmark/119-HTML_blocks.md
index 71a7903..e190b8f 100644
--- a/tests/commonmark/119-HTML_blocks.md
+++ b/tests/commonmark/119-HTML_blocks.md
@@ -1,3 +1,9 @@
-
- *hello*
-
\ No newline at end of file
+
+
+
+ hi
+
+
+
+
+okay.
\ No newline at end of file
diff --git a/tests/commonmark/120-HTML_blocks.html b/tests/commonmark/120-HTML_blocks.html
index 2253b53..71a7903 100644
--- a/tests/commonmark/120-HTML_blocks.html
+++ b/tests/commonmark/120-HTML_blocks.html
@@ -1,2 +1,3 @@
-
-*foo*
\ No newline at end of file
+
-*foo*
\ No newline at end of file
+
+*foo*
\ No newline at end of file
diff --git a/tests/commonmark/121-HTML_blocks.md b/tests/commonmark/121-HTML_blocks.md
index 827e7c3..2253b53 100644
--- a/tests/commonmark/121-HTML_blocks.md
+++ b/tests/commonmark/121-HTML_blocks.md
@@ -1,5 +1,2 @@
-
-
-*Markdown*
-
-
\ No newline at end of file
+
+*foo*
\ No newline at end of file
diff --git a/tests/commonmark/122-HTML_blocks.html b/tests/commonmark/122-HTML_blocks.html
new file mode 100644
index 0000000..16436f3
--- /dev/null
+++ b/tests/commonmark/122-HTML_blocks.html
@@ -0,0 +1,3 @@
+
+Markdown
+
\ No newline at end of file
diff --git a/tests/commonmark/122-HTML_blocks.md b/tests/commonmark/122-HTML_blocks.md
new file mode 100644
index 0000000..827e7c3
--- /dev/null
+++ b/tests/commonmark/122-HTML_blocks.md
@@ -0,0 +1,5 @@
+
+
+*Markdown*
+
+
\ No newline at end of file
diff --git a/tests/commonmark/125-HTML_blocks.html b/tests/commonmark/125-HTML_blocks.html
new file mode 100644
index 0000000..282dab9
--- /dev/null
+++ b/tests/commonmark/125-HTML_blocks.html
@@ -0,0 +1,3 @@
+
+*foo*
+bar
\ No newline at end of file
diff --git a/tests/commonmark/125-HTML_blocks.md b/tests/commonmark/125-HTML_blocks.md
new file mode 100644
index 0000000..c0e5cbe
--- /dev/null
+++ b/tests/commonmark/125-HTML_blocks.md
@@ -0,0 +1,4 @@
+
+*foo*
+
+*bar*
\ No newline at end of file
diff --git a/tests/commonmark/129-HTML_blocks.html b/tests/commonmark/129-HTML_blocks.html
index a50519f..b014991 100644
--- a/tests/commonmark/129-HTML_blocks.html
+++ b/tests/commonmark/129-HTML_blocks.html
@@ -1,3 +1 @@
-
-foo
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/129-HTML_blocks.md b/tests/commonmark/129-HTML_blocks.md
index a50519f..b014991 100644
--- a/tests/commonmark/129-HTML_blocks.md
+++ b/tests/commonmark/129-HTML_blocks.md
@@ -1,3 +1 @@
-
-foo
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/130-HTML_blocks.html b/tests/commonmark/130-HTML_blocks.html
index 7712172..a50519f 100644
--- a/tests/commonmark/130-HTML_blocks.html
+++ b/tests/commonmark/130-HTML_blocks.html
@@ -1,4 +1,3 @@
-
-``` c
-int x = 33;
-```
\ No newline at end of file
+
+foo
+
\ No newline at end of file
diff --git a/tests/commonmark/130-HTML_blocks.md b/tests/commonmark/130-HTML_blocks.md
index 7712172..a50519f 100644
--- a/tests/commonmark/130-HTML_blocks.md
+++ b/tests/commonmark/130-HTML_blocks.md
@@ -1,4 +1,3 @@
-
-``` c
-int x = 33;
-```
\ No newline at end of file
+
+foo
+
\ No newline at end of file
diff --git a/tests/commonmark/131-HTML_blocks.html b/tests/commonmark/131-HTML_blocks.html
new file mode 100644
index 0000000..7712172
--- /dev/null
+++ b/tests/commonmark/131-HTML_blocks.html
@@ -0,0 +1,4 @@
+
+``` c
+int x = 33;
+```
\ No newline at end of file
diff --git a/tests/commonmark/131-HTML_blocks.md b/tests/commonmark/131-HTML_blocks.md
new file mode 100644
index 0000000..7712172
--- /dev/null
+++ b/tests/commonmark/131-HTML_blocks.md
@@ -0,0 +1,4 @@
+
+``` c
+int x = 33;
+```
\ No newline at end of file
diff --git a/tests/commonmark/133-HTML_blocks.html b/tests/commonmark/133-HTML_blocks.html
new file mode 100644
index 0000000..8e298cc
--- /dev/null
+++ b/tests/commonmark/133-HTML_blocks.html
@@ -0,0 +1,3 @@
+
+*bar*
+
\ No newline at end of file
diff --git a/tests/commonmark/133-HTML_blocks.md b/tests/commonmark/133-HTML_blocks.md
new file mode 100644
index 0000000..8e298cc
--- /dev/null
+++ b/tests/commonmark/133-HTML_blocks.md
@@ -0,0 +1,3 @@
+
+*bar*
+
\ No newline at end of file
diff --git a/tests/commonmark/138-HTML_blocks.html b/tests/commonmark/138-HTML_blocks.html
index 58c9fde..a98ceb5 100644
--- a/tests/commonmark/138-HTML_blocks.html
+++ b/tests/commonmark/138-HTML_blocks.html
@@ -1,7 +1 @@
-
-import Text.HTML.TagSoup
-
-main :: IO ()
-main = print $ parseTags tags
-
-okay
\ No newline at end of file
+foo
\ No newline at end of file
diff --git a/tests/commonmark/138-HTML_blocks.md b/tests/commonmark/138-HTML_blocks.md
index 00fba43..ba8e614 100644
--- a/tests/commonmark/138-HTML_blocks.md
+++ b/tests/commonmark/138-HTML_blocks.md
@@ -1,7 +1 @@
-
-import Text.HTML.TagSoup
-
-main :: IO ()
-main = print $ parseTags tags
-
-okay
\ No newline at end of file
+*foo*
\ No newline at end of file
diff --git a/tests/commonmark/139-HTML_blocks.html b/tests/commonmark/139-HTML_blocks.html
index 8fc23c2..58c9fde 100644
--- a/tests/commonmark/139-HTML_blocks.html
+++ b/tests/commonmark/139-HTML_blocks.html
@@ -1,6 +1,7 @@
-
+main :: IO ()
+main = print $ parseTags tags
+
okay
\ No newline at end of file
diff --git a/tests/commonmark/139-HTML_blocks.md b/tests/commonmark/139-HTML_blocks.md
index 6fb1ec3..00fba43 100644
--- a/tests/commonmark/139-HTML_blocks.md
+++ b/tests/commonmark/139-HTML_blocks.md
@@ -1,6 +1,7 @@
-
+main :: IO ()
+main = print $ parseTags tags
+
okay
\ No newline at end of file
diff --git a/tests/commonmark/140-HTML_blocks.html b/tests/commonmark/140-HTML_blocks.html
index 5cd0780..8fc23c2 100644
--- a/tests/commonmark/140-HTML_blocks.html
+++ b/tests/commonmark/140-HTML_blocks.html
@@ -1,7 +1,6 @@
-
+document.getElementById("demo").innerHTML = "Hello JavaScript!";
+
okay
\ No newline at end of file
diff --git a/tests/commonmark/140-HTML_blocks.md b/tests/commonmark/140-HTML_blocks.md
index 6f2fa15..6fb1ec3 100644
--- a/tests/commonmark/140-HTML_blocks.md
+++ b/tests/commonmark/140-HTML_blocks.md
@@ -1,7 +1,6 @@
-
+document.getElementById("demo").innerHTML = "Hello JavaScript!";
+
okay
\ No newline at end of file
diff --git a/tests/commonmark/141-HTML_blocks.html b/tests/commonmark/141-HTML_blocks.html
index 0913818..5cd0780 100644
--- a/tests/commonmark/141-HTML_blocks.html
+++ b/tests/commonmark/141-HTML_blocks.html
@@ -1,4 +1,7 @@
+okay
\ No newline at end of file
diff --git a/tests/commonmark/141-HTML_blocks.md b/tests/commonmark/141-HTML_blocks.md
index 0913818..6f2fa15 100644
--- a/tests/commonmark/141-HTML_blocks.md
+++ b/tests/commonmark/141-HTML_blocks.md
@@ -1,4 +1,7 @@
+okay
\ No newline at end of file
diff --git a/tests/commonmark/142-HTML_blocks.html b/tests/commonmark/142-HTML_blocks.html
new file mode 100644
index 0000000..0913818
--- /dev/null
+++ b/tests/commonmark/142-HTML_blocks.html
@@ -0,0 +1,4 @@
+
+foo
\ No newline at end of file
diff --git a/tests/commonmark/145-HTML_blocks.md b/tests/commonmark/145-HTML_blocks.md
index fa3c6f7..778df6e 100644
--- a/tests/commonmark/145-HTML_blocks.md
+++ b/tests/commonmark/145-HTML_blocks.md
@@ -1,2 +1,2 @@
-*bar*
-*baz*
\ No newline at end of file
+
+*foo*
\ No newline at end of file
diff --git a/tests/commonmark/146-HTML_blocks.html b/tests/commonmark/146-HTML_blocks.html
index b20854b..7554d35 100644
--- a/tests/commonmark/146-HTML_blocks.html
+++ b/tests/commonmark/146-HTML_blocks.html
@@ -1,3 +1,2 @@
-1. *bar*
\ No newline at end of file
+*bar*
+baz
\ No newline at end of file
diff --git a/tests/commonmark/146-HTML_blocks.md b/tests/commonmark/146-HTML_blocks.md
index b20854b..fa3c6f7 100644
--- a/tests/commonmark/146-HTML_blocks.md
+++ b/tests/commonmark/146-HTML_blocks.md
@@ -1,3 +1,2 @@
-1. *bar*
\ No newline at end of file
+*bar*
+*baz*
\ No newline at end of file
diff --git a/tests/commonmark/147-HTML_blocks.html b/tests/commonmark/147-HTML_blocks.html
index 10e1889..b20854b 100644
--- a/tests/commonmark/147-HTML_blocks.html
+++ b/tests/commonmark/147-HTML_blocks.html
@@ -1,5 +1,3 @@
-
-okay
\ No newline at end of file
+1. *bar*
\ No newline at end of file
diff --git a/tests/commonmark/147-HTML_blocks.md b/tests/commonmark/147-HTML_blocks.md
index d93f419..b20854b 100644
--- a/tests/commonmark/147-HTML_blocks.md
+++ b/tests/commonmark/147-HTML_blocks.md
@@ -1,5 +1,3 @@
-
-okay
\ No newline at end of file
+1. *bar*
\ No newline at end of file
diff --git a/tests/commonmark/148-HTML_blocks.html b/tests/commonmark/148-HTML_blocks.html
index 44bc94c..10e1889 100644
--- a/tests/commonmark/148-HTML_blocks.html
+++ b/tests/commonmark/148-HTML_blocks.html
@@ -1,6 +1,5 @@
-';
-
-?>
+bar
+ baz -->
okay
\ No newline at end of file
diff --git a/tests/commonmark/148-HTML_blocks.md b/tests/commonmark/148-HTML_blocks.md
index 27f7623..d93f419 100644
--- a/tests/commonmark/148-HTML_blocks.md
+++ b/tests/commonmark/148-HTML_blocks.md
@@ -1,6 +1,5 @@
-';
-
-?>
+bar
+ baz -->
okay
\ No newline at end of file
diff --git a/tests/commonmark/149-HTML_blocks.html b/tests/commonmark/149-HTML_blocks.html
index 763b073..44bc94c 100644
--- a/tests/commonmark/149-HTML_blocks.html
+++ b/tests/commonmark/149-HTML_blocks.html
@@ -1 +1,6 @@
-
\ No newline at end of file
+';
+
+?>
+okay
\ No newline at end of file
diff --git a/tests/commonmark/149-HTML_blocks.md b/tests/commonmark/149-HTML_blocks.md
index 763b073..27f7623 100644
--- a/tests/commonmark/149-HTML_blocks.md
+++ b/tests/commonmark/149-HTML_blocks.md
@@ -1 +1,6 @@
-
\ No newline at end of file
+';
+
+?>
+okay
\ No newline at end of file
diff --git a/tests/commonmark/150-HTML_blocks.html b/tests/commonmark/150-HTML_blocks.html
index c6a3b99..763b073 100644
--- a/tests/commonmark/150-HTML_blocks.html
+++ b/tests/commonmark/150-HTML_blocks.html
@@ -1,13 +1 @@
-
-okay
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/150-HTML_blocks.md b/tests/commonmark/150-HTML_blocks.md
index ae24460..763b073 100644
--- a/tests/commonmark/150-HTML_blocks.md
+++ b/tests/commonmark/150-HTML_blocks.md
@@ -1,13 +1 @@
-
-okay
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/151-HTML_blocks.html b/tests/commonmark/151-HTML_blocks.html
index c15120f..c6a3b99 100644
--- a/tests/commonmark/151-HTML_blocks.html
+++ b/tests/commonmark/151-HTML_blocks.html
@@ -1,3 +1,13 @@
-
-<!-- foo -->
-
\ No newline at end of file
+
+okay
\ No newline at end of file
diff --git a/tests/commonmark/151-HTML_blocks.md b/tests/commonmark/151-HTML_blocks.md
index 642b526..ae24460 100644
--- a/tests/commonmark/151-HTML_blocks.md
+++ b/tests/commonmark/151-HTML_blocks.md
@@ -1,3 +1,13 @@
-
+
\ No newline at end of file
+ } else {
+
+ return 0;
+ }
+}
+]]>
+okay
\ No newline at end of file
diff --git a/tests/commonmark/152-HTML_blocks.html b/tests/commonmark/152-HTML_blocks.html
index 73ef354..c15120f 100644
--- a/tests/commonmark/152-HTML_blocks.html
+++ b/tests/commonmark/152-HTML_blocks.html
@@ -1,3 +1,3 @@
-
-<div>
+
+<!-- foo -->
\ No newline at end of file
diff --git a/tests/commonmark/152-HTML_blocks.md b/tests/commonmark/152-HTML_blocks.md
index 5906f6a..642b526 100644
--- a/tests/commonmark/152-HTML_blocks.md
+++ b/tests/commonmark/152-HTML_blocks.md
@@ -1,3 +1,3 @@
-
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/153-HTML_blocks.html b/tests/commonmark/153-HTML_blocks.html
index 7e75ec6..73ef354 100644
--- a/tests/commonmark/153-HTML_blocks.html
+++ b/tests/commonmark/153-HTML_blocks.html
@@ -1,4 +1,3 @@
-Foo
-
-bar
-
\ No newline at end of file
+
+<div>
+
\ No newline at end of file
diff --git a/tests/commonmark/153-HTML_blocks.md b/tests/commonmark/153-HTML_blocks.md
index 939b623..5906f6a 100644
--- a/tests/commonmark/153-HTML_blocks.md
+++ b/tests/commonmark/153-HTML_blocks.md
@@ -1,4 +1,3 @@
-Foo
-
-bar
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/154-HTML_blocks.html b/tests/commonmark/154-HTML_blocks.html
index 63d4c9a..7e75ec6 100644
--- a/tests/commonmark/154-HTML_blocks.html
+++ b/tests/commonmark/154-HTML_blocks.html
@@ -1,4 +1,4 @@
+Foo
bar
-
-*foo*
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/154-HTML_blocks.md b/tests/commonmark/154-HTML_blocks.md
index 63d4c9a..939b623 100644
--- a/tests/commonmark/154-HTML_blocks.md
+++ b/tests/commonmark/154-HTML_blocks.md
@@ -1,4 +1,4 @@
+Foo
bar
-
-*foo*
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/155-HTML_blocks.html b/tests/commonmark/155-HTML_blocks.html
index 9ade1ee..63d4c9a 100644
--- a/tests/commonmark/155-HTML_blocks.html
+++ b/tests/commonmark/155-HTML_blocks.html
@@ -1,3 +1,4 @@
-Foo
-
-baz
\ No newline at end of file
+
+bar
+
+*foo*
\ No newline at end of file
diff --git a/tests/commonmark/155-HTML_blocks.md b/tests/commonmark/155-HTML_blocks.md
index 0ad6670..63d4c9a 100644
--- a/tests/commonmark/155-HTML_blocks.md
+++ b/tests/commonmark/155-HTML_blocks.md
@@ -1,3 +1,4 @@
-Foo
-
-baz
\ No newline at end of file
+
+bar
+
+*foo*
\ No newline at end of file
diff --git a/tests/commonmark/156-HTML_blocks.html b/tests/commonmark/156-HTML_blocks.html
index e355216..9ade1ee 100644
--- a/tests/commonmark/156-HTML_blocks.html
+++ b/tests/commonmark/156-HTML_blocks.html
@@ -1,3 +1,3 @@
-
-Emphasized text.
-
\ No newline at end of file
+Foo
+
+baz
\ No newline at end of file
diff --git a/tests/commonmark/156-HTML_blocks.md b/tests/commonmark/156-HTML_blocks.md
index e4499c6..0ad6670 100644
--- a/tests/commonmark/156-HTML_blocks.md
+++ b/tests/commonmark/156-HTML_blocks.md
@@ -1,5 +1,3 @@
-
-
-*Emphasized* text.
-
-
\ No newline at end of file
+Foo
+
+baz
\ No newline at end of file
diff --git a/tests/commonmark/157-HTML_blocks.html b/tests/commonmark/157-HTML_blocks.html
index aead2d9..e355216 100644
--- a/tests/commonmark/157-HTML_blocks.html
+++ b/tests/commonmark/157-HTML_blocks.html
@@ -1,3 +1,3 @@
-*Emphasized* text.
+Emphasized text.
\ No newline at end of file
diff --git a/tests/commonmark/157-HTML_blocks.md b/tests/commonmark/157-HTML_blocks.md
index aead2d9..e4499c6 100644
--- a/tests/commonmark/157-HTML_blocks.md
+++ b/tests/commonmark/157-HTML_blocks.md
@@ -1,3 +1,5 @@
+
*Emphasized* text.
+
\ No newline at end of file
diff --git a/tests/commonmark/158-HTML_blocks.html b/tests/commonmark/158-HTML_blocks.html
index c4ce623..aead2d9 100644
--- a/tests/commonmark/158-HTML_blocks.html
+++ b/tests/commonmark/158-HTML_blocks.html
@@ -1,7 +1,3 @@
-
-
-
-Hi
-
-
-
\ No newline at end of file
+
+*Emphasized* text.
+
\ No newline at end of file
diff --git a/tests/commonmark/158-HTML_blocks.md b/tests/commonmark/158-HTML_blocks.md
index 27d03df..aead2d9 100644
--- a/tests/commonmark/158-HTML_blocks.md
+++ b/tests/commonmark/158-HTML_blocks.md
@@ -1,11 +1,3 @@
-
-
-
-
-
-Hi
-
-
-
-
-
\ No newline at end of file
+
+*Emphasized* text.
+
\ No newline at end of file
diff --git a/tests/commonmark/159-HTML_blocks.html b/tests/commonmark/159-HTML_blocks.html
index 6da7f56..c4ce623 100644
--- a/tests/commonmark/159-HTML_blocks.html
+++ b/tests/commonmark/159-HTML_blocks.html
@@ -1,8 +1,7 @@
-
-<td>
- Hi
-</td>
-
-
+
+
+Hi
+
+
\ No newline at end of file
diff --git a/tests/commonmark/159-HTML_blocks.md b/tests/commonmark/159-HTML_blocks.md
index 3f24411..27d03df 100644
--- a/tests/commonmark/159-HTML_blocks.md
+++ b/tests/commonmark/159-HTML_blocks.md
@@ -1,11 +1,11 @@
-
+
-
- Hi
-
+
+Hi
+
-
+
\ No newline at end of file
diff --git a/tests/commonmark/160-HTML_blocks.html b/tests/commonmark/160-HTML_blocks.html
new file mode 100644
index 0000000..6da7f56
--- /dev/null
+++ b/tests/commonmark/160-HTML_blocks.html
@@ -0,0 +1,8 @@
+
+
+<td>
+ Hi
+</td>
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/160-HTML_blocks.md b/tests/commonmark/160-HTML_blocks.md
new file mode 100644
index 0000000..3f24411
--- /dev/null
+++ b/tests/commonmark/160-HTML_blocks.md
@@ -0,0 +1,11 @@
+
+
+
+
+
+ Hi
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/161-Link_reference_definitions.html b/tests/commonmark/161-Link_reference_definitions.html
new file mode 100644
index 0000000..de843ed
--- /dev/null
+++ b/tests/commonmark/161-Link_reference_definitions.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/161-Link_reference_definitions.md b/tests/commonmark/161-Link_reference_definitions.md
new file mode 100644
index 0000000..df7cd03
--- /dev/null
+++ b/tests/commonmark/161-Link_reference_definitions.md
@@ -0,0 +1,3 @@
+[foo]: /url "title"
+
+[foo]
\ No newline at end of file
diff --git a/tests/commonmark/166-Link_reference_definitions.html b/tests/commonmark/166-Link_reference_definitions.html
new file mode 100644
index 0000000..fa204c2
--- /dev/null
+++ b/tests/commonmark/166-Link_reference_definitions.html
@@ -0,0 +1,3 @@
+[foo]: /url 'title
+with blank line'
+[foo]
\ No newline at end of file
diff --git a/tests/commonmark/166-Link_reference_definitions.md b/tests/commonmark/166-Link_reference_definitions.md
new file mode 100644
index 0000000..1b8c6e6
--- /dev/null
+++ b/tests/commonmark/166-Link_reference_definitions.md
@@ -0,0 +1,5 @@
+[foo]: /url 'title
+
+with blank line'
+
+[foo]
\ No newline at end of file
diff --git a/tests/commonmark/168-Link_reference_definitions.html b/tests/commonmark/168-Link_reference_definitions.html
new file mode 100644
index 0000000..88ee0dd
--- /dev/null
+++ b/tests/commonmark/168-Link_reference_definitions.html
@@ -0,0 +1,2 @@
+[foo]:
+[foo]
\ No newline at end of file
diff --git a/tests/commonmark/168-Link_reference_definitions.md b/tests/commonmark/168-Link_reference_definitions.md
new file mode 100644
index 0000000..f2994a4
--- /dev/null
+++ b/tests/commonmark/168-Link_reference_definitions.md
@@ -0,0 +1,3 @@
+[foo]:
+
+[foo]
\ No newline at end of file
diff --git a/tests/commonmark/172-Link_reference_definitions.html b/tests/commonmark/172-Link_reference_definitions.html
index 06917da..0d38961 100644
--- a/tests/commonmark/172-Link_reference_definitions.html
+++ b/tests/commonmark/172-Link_reference_definitions.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/172-Link_reference_definitions.md b/tests/commonmark/172-Link_reference_definitions.md
index 17c42ba..d50462f 100644
--- a/tests/commonmark/172-Link_reference_definitions.md
+++ b/tests/commonmark/172-Link_reference_definitions.md
@@ -1,3 +1,3 @@
-[FOO]: /url
+[foo]
-[Foo]
\ No newline at end of file
+[foo]: url
\ No newline at end of file
diff --git a/tests/commonmark/174-Link_reference_definitions.html b/tests/commonmark/174-Link_reference_definitions.html
index e69de29..06917da 100644
--- a/tests/commonmark/174-Link_reference_definitions.html
+++ b/tests/commonmark/174-Link_reference_definitions.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/174-Link_reference_definitions.md b/tests/commonmark/174-Link_reference_definitions.md
index 1e77055..17c42ba 100644
--- a/tests/commonmark/174-Link_reference_definitions.md
+++ b/tests/commonmark/174-Link_reference_definitions.md
@@ -1 +1,3 @@
-[foo]: /url
\ No newline at end of file
+[FOO]: /url
+
+[Foo]
\ No newline at end of file
diff --git a/tests/commonmark/176-Link_reference_definitions.html b/tests/commonmark/176-Link_reference_definitions.html
index ca8613b..e69de29 100644
--- a/tests/commonmark/176-Link_reference_definitions.html
+++ b/tests/commonmark/176-Link_reference_definitions.html
@@ -1 +0,0 @@
-[foo]: /url "title" ok
\ No newline at end of file
diff --git a/tests/commonmark/176-Link_reference_definitions.md b/tests/commonmark/176-Link_reference_definitions.md
index 624d3e4..1e77055 100644
--- a/tests/commonmark/176-Link_reference_definitions.md
+++ b/tests/commonmark/176-Link_reference_definitions.md
@@ -1 +1 @@
-[foo]: /url "title" ok
\ No newline at end of file
+[foo]: /url
\ No newline at end of file
diff --git a/tests/commonmark/178-Link_reference_definitions.html b/tests/commonmark/178-Link_reference_definitions.html
index 42cea35..ca8613b 100644
--- a/tests/commonmark/178-Link_reference_definitions.html
+++ b/tests/commonmark/178-Link_reference_definitions.html
@@ -1 +1 @@
-"title" ok
\ No newline at end of file
+[foo]: /url "title" ok
\ No newline at end of file
diff --git a/tests/commonmark/178-Link_reference_definitions.md b/tests/commonmark/178-Link_reference_definitions.md
index 73abb6f..624d3e4 100644
--- a/tests/commonmark/178-Link_reference_definitions.md
+++ b/tests/commonmark/178-Link_reference_definitions.md
@@ -1,2 +1 @@
-[foo]: /url
-"title" ok
\ No newline at end of file
+[foo]: /url "title" ok
\ No newline at end of file
diff --git a/tests/commonmark/179-Link_reference_definitions.html b/tests/commonmark/179-Link_reference_definitions.html
index 01fad6a..42cea35 100644
--- a/tests/commonmark/179-Link_reference_definitions.html
+++ b/tests/commonmark/179-Link_reference_definitions.html
@@ -1,3 +1 @@
-[foo]: /url "title"
-
-[foo]
\ No newline at end of file
+"title" ok
\ No newline at end of file
diff --git a/tests/commonmark/179-Link_reference_definitions.md b/tests/commonmark/179-Link_reference_definitions.md
index a26679b..73abb6f 100644
--- a/tests/commonmark/179-Link_reference_definitions.md
+++ b/tests/commonmark/179-Link_reference_definitions.md
@@ -1,3 +1,2 @@
- [foo]: /url "title"
-
-[foo]
\ No newline at end of file
+[foo]: /url
+"title" ok
\ No newline at end of file
diff --git a/tests/commonmark/180-Link_reference_definitions.html b/tests/commonmark/180-Link_reference_definitions.html
index cbbdf09..01fad6a 100644
--- a/tests/commonmark/180-Link_reference_definitions.html
+++ b/tests/commonmark/180-Link_reference_definitions.html
@@ -1,3 +1,3 @@
-[foo]: /url
+[foo]: /url "title"
[foo]
\ No newline at end of file
diff --git a/tests/commonmark/180-Link_reference_definitions.md b/tests/commonmark/180-Link_reference_definitions.md
index 1720884..a26679b 100644
--- a/tests/commonmark/180-Link_reference_definitions.md
+++ b/tests/commonmark/180-Link_reference_definitions.md
@@ -1,5 +1,3 @@
-```
-[foo]: /url
-```
+ [foo]: /url "title"
[foo]
\ No newline at end of file
diff --git a/tests/commonmark/181-Link_reference_definitions.html b/tests/commonmark/181-Link_reference_definitions.html
index a036035..cbbdf09 100644
--- a/tests/commonmark/181-Link_reference_definitions.html
+++ b/tests/commonmark/181-Link_reference_definitions.html
@@ -1,4 +1,3 @@
-Foo
-
-bar
-
\ No newline at end of file
+[foo]: /url
+
+[foo]
\ No newline at end of file
diff --git a/tests/commonmark/181-Link_reference_definitions.md b/tests/commonmark/181-Link_reference_definitions.md
index 4442099..1720884 100644
--- a/tests/commonmark/181-Link_reference_definitions.md
+++ b/tests/commonmark/181-Link_reference_definitions.md
@@ -1,3 +1,5 @@
-# [Foo]
+```
[foo]: /url
-> bar
\ No newline at end of file
+```
+
+[foo]
\ No newline at end of file
diff --git a/tests/commonmark/183-Link_reference_definitions.html b/tests/commonmark/183-Link_reference_definitions.html
new file mode 100644
index 0000000..a036035
--- /dev/null
+++ b/tests/commonmark/183-Link_reference_definitions.html
@@ -0,0 +1,4 @@
+Foo
+
+bar
+
\ No newline at end of file
diff --git a/tests/commonmark/183-Link_reference_definitions.md b/tests/commonmark/183-Link_reference_definitions.md
new file mode 100644
index 0000000..4442099
--- /dev/null
+++ b/tests/commonmark/183-Link_reference_definitions.md
@@ -0,0 +1,3 @@
+# [Foo]
+[foo]: /url
+> bar
\ No newline at end of file
diff --git a/tests/commonmark/184-Link_reference_definitions.html b/tests/commonmark/184-Link_reference_definitions.html
new file mode 100644
index 0000000..1cb1ea5
--- /dev/null
+++ b/tests/commonmark/184-Link_reference_definitions.html
@@ -0,0 +1,2 @@
+bar
+
\ No newline at end of file
diff --git a/tests/commonmark/184-Link_reference_definitions.md b/tests/commonmark/184-Link_reference_definitions.md
new file mode 100644
index 0000000..7eb7d85
--- /dev/null
+++ b/tests/commonmark/184-Link_reference_definitions.md
@@ -0,0 +1,4 @@
+[foo]: /url
+bar
+===
+[foo]
\ No newline at end of file
diff --git a/tests/commonmark/185-Link_reference_definitions.html b/tests/commonmark/185-Link_reference_definitions.html
new file mode 100644
index 0000000..9d53767
--- /dev/null
+++ b/tests/commonmark/185-Link_reference_definitions.html
@@ -0,0 +1,2 @@
+===
+foo
\ No newline at end of file
diff --git a/tests/commonmark/185-Link_reference_definitions.md b/tests/commonmark/185-Link_reference_definitions.md
new file mode 100644
index 0000000..9d71a6a
--- /dev/null
+++ b/tests/commonmark/185-Link_reference_definitions.md
@@ -0,0 +1,3 @@
+[foo]: /url
+===
+[foo]
\ No newline at end of file
diff --git a/tests/commonmark/188-Link_reference_definitions.html b/tests/commonmark/188-Link_reference_definitions.html
new file mode 100644
index 0000000..e69de29
diff --git a/tests/commonmark/188-Link_reference_definitions.md b/tests/commonmark/188-Link_reference_definitions.md
new file mode 100644
index 0000000..1e77055
--- /dev/null
+++ b/tests/commonmark/188-Link_reference_definitions.md
@@ -0,0 +1 @@
+[foo]: /url
\ No newline at end of file
diff --git a/tests/commonmark/189-Paragraphs.html b/tests/commonmark/189-Paragraphs.html
index 693468a..53d80af 100644
--- a/tests/commonmark/189-Paragraphs.html
+++ b/tests/commonmark/189-Paragraphs.html
@@ -1,3 +1,2 @@
-aaa
-bbb
-ccc
\ No newline at end of file
+aaa
+bbb
\ No newline at end of file
diff --git a/tests/commonmark/189-Paragraphs.md b/tests/commonmark/189-Paragraphs.md
index bfbc438..c0b7069 100644
--- a/tests/commonmark/189-Paragraphs.md
+++ b/tests/commonmark/189-Paragraphs.md
@@ -1,3 +1,3 @@
aaa
- bbb
- ccc
\ No newline at end of file
+
+bbb
\ No newline at end of file
diff --git a/tests/commonmark/190-Paragraphs.html b/tests/commonmark/190-Paragraphs.html
index 73b4546..b52697b 100644
--- a/tests/commonmark/190-Paragraphs.html
+++ b/tests/commonmark/190-Paragraphs.html
@@ -1,2 +1,4 @@
aaa
-bbb
\ No newline at end of file
+bbb
+ccc
+ddd
\ No newline at end of file
diff --git a/tests/commonmark/190-Paragraphs.md b/tests/commonmark/190-Paragraphs.md
index ddf93e8..56f3b1e 100644
--- a/tests/commonmark/190-Paragraphs.md
+++ b/tests/commonmark/190-Paragraphs.md
@@ -1,2 +1,5 @@
- aaa
-bbb
\ No newline at end of file
+aaa
+bbb
+
+ccc
+ddd
\ No newline at end of file
diff --git a/tests/commonmark/191-Paragraphs.html b/tests/commonmark/191-Paragraphs.html
index a14f6e7..53d80af 100644
--- a/tests/commonmark/191-Paragraphs.html
+++ b/tests/commonmark/191-Paragraphs.html
@@ -1,3 +1,2 @@
-aaa
-
+aaa
bbb
\ No newline at end of file
diff --git a/tests/commonmark/191-Paragraphs.md b/tests/commonmark/191-Paragraphs.md
index 785a1d6..0f437aa 100644
--- a/tests/commonmark/191-Paragraphs.md
+++ b/tests/commonmark/191-Paragraphs.md
@@ -1,2 +1,4 @@
- aaa
+aaa
+
+
bbb
\ No newline at end of file
diff --git a/tests/commonmark/192-Paragraphs.html b/tests/commonmark/192-Paragraphs.html
index eb3b72f..73b4546 100644
--- a/tests/commonmark/192-Paragraphs.html
+++ b/tests/commonmark/192-Paragraphs.html
@@ -1,2 +1,2 @@
-aaa
+
aaa
bbb
\ No newline at end of file
diff --git a/tests/commonmark/192-Paragraphs.md b/tests/commonmark/192-Paragraphs.md
index 175e777..f0d8c50 100644
--- a/tests/commonmark/192-Paragraphs.md
+++ b/tests/commonmark/192-Paragraphs.md
@@ -1,2 +1,2 @@
-aaa
-bbb
\ No newline at end of file
+ aaa
+ bbb
\ No newline at end of file
diff --git a/tests/commonmark/193-Paragraphs.html b/tests/commonmark/193-Paragraphs.html
new file mode 100644
index 0000000..693468a
--- /dev/null
+++ b/tests/commonmark/193-Paragraphs.html
@@ -0,0 +1,3 @@
+aaa
+bbb
+ccc
\ No newline at end of file
diff --git a/tests/commonmark/193-Paragraphs.md b/tests/commonmark/193-Paragraphs.md
new file mode 100644
index 0000000..bfbc438
--- /dev/null
+++ b/tests/commonmark/193-Paragraphs.md
@@ -0,0 +1,3 @@
+aaa
+ bbb
+ ccc
\ No newline at end of file
diff --git a/tests/commonmark/194-Paragraphs.html b/tests/commonmark/194-Paragraphs.html
new file mode 100644
index 0000000..73b4546
--- /dev/null
+++ b/tests/commonmark/194-Paragraphs.html
@@ -0,0 +1,2 @@
+aaa
+bbb
\ No newline at end of file
diff --git a/tests/commonmark/194-Paragraphs.md b/tests/commonmark/194-Paragraphs.md
new file mode 100644
index 0000000..ddf93e8
--- /dev/null
+++ b/tests/commonmark/194-Paragraphs.md
@@ -0,0 +1,2 @@
+ aaa
+bbb
\ No newline at end of file
diff --git a/tests/commonmark/195-Paragraphs.html b/tests/commonmark/195-Paragraphs.html
new file mode 100644
index 0000000..a14f6e7
--- /dev/null
+++ b/tests/commonmark/195-Paragraphs.html
@@ -0,0 +1,3 @@
+aaa
+
+bbb
\ No newline at end of file
diff --git a/tests/commonmark/195-Paragraphs.md b/tests/commonmark/195-Paragraphs.md
new file mode 100644
index 0000000..785a1d6
--- /dev/null
+++ b/tests/commonmark/195-Paragraphs.md
@@ -0,0 +1,2 @@
+ aaa
+bbb
\ No newline at end of file
diff --git a/tests/commonmark/196-Paragraphs.html b/tests/commonmark/196-Paragraphs.html
new file mode 100644
index 0000000..eb3b72f
--- /dev/null
+++ b/tests/commonmark/196-Paragraphs.html
@@ -0,0 +1,2 @@
+aaa
+bbb
\ No newline at end of file
diff --git a/tests/commonmark/196-Paragraphs.md b/tests/commonmark/196-Paragraphs.md
new file mode 100644
index 0000000..175e777
--- /dev/null
+++ b/tests/commonmark/196-Paragraphs.md
@@ -0,0 +1,2 @@
+aaa
+bbb
\ No newline at end of file
diff --git a/tests/commonmark/197-Blank_lines.html b/tests/commonmark/197-Blank_lines.html
new file mode 100644
index 0000000..65bfd4d
--- /dev/null
+++ b/tests/commonmark/197-Blank_lines.html
@@ -0,0 +1,2 @@
+aaa
+aaa
\ No newline at end of file
diff --git a/tests/commonmark/197-Blank_lines.md b/tests/commonmark/197-Blank_lines.md
new file mode 100644
index 0000000..f4f2b89
--- /dev/null
+++ b/tests/commonmark/197-Blank_lines.md
@@ -0,0 +1,8 @@
+
+
+aaa
+
+
+# aaa
+
+
\ No newline at end of file
diff --git a/tests/commonmark/198-Block_quotes.md b/tests/commonmark/198-Block_quotes.md
index 6c0307a..e751d8a 100644
--- a/tests/commonmark/198-Block_quotes.md
+++ b/tests/commonmark/198-Block_quotes.md
@@ -1,3 +1,3 @@
> # Foo
> bar
-baz
\ No newline at end of file
+> baz
\ No newline at end of file
diff --git a/tests/commonmark/199-Block_quotes.html b/tests/commonmark/199-Block_quotes.html
index c3c2c6f..20ddddd 100644
--- a/tests/commonmark/199-Block_quotes.html
+++ b/tests/commonmark/199-Block_quotes.html
@@ -1,5 +1,5 @@
+Foo
bar
-baz
-foo
+baz
\ No newline at end of file
diff --git a/tests/commonmark/199-Block_quotes.md b/tests/commonmark/199-Block_quotes.md
index fd5ee94..27f81b9 100644
--- a/tests/commonmark/199-Block_quotes.md
+++ b/tests/commonmark/199-Block_quotes.md
@@ -1,3 +1,3 @@
-> bar
-baz
-> foo
\ No newline at end of file
+># Foo
+>bar
+> baz
\ No newline at end of file
diff --git a/tests/commonmark/200-Block_quotes.html b/tests/commonmark/200-Block_quotes.html
new file mode 100644
index 0000000..20ddddd
--- /dev/null
+++ b/tests/commonmark/200-Block_quotes.html
@@ -0,0 +1,5 @@
+
+Foo
+bar
+baz
+
\ No newline at end of file
diff --git a/tests/commonmark/200-Block_quotes.md b/tests/commonmark/200-Block_quotes.md
new file mode 100644
index 0000000..e56c4dc
--- /dev/null
+++ b/tests/commonmark/200-Block_quotes.md
@@ -0,0 +1,3 @@
+ > # Foo
+ > bar
+ > baz
\ No newline at end of file
diff --git a/tests/commonmark/201-Block_quotes.html b/tests/commonmark/201-Block_quotes.html
new file mode 100644
index 0000000..fe3a630
--- /dev/null
+++ b/tests/commonmark/201-Block_quotes.html
@@ -0,0 +1,4 @@
+> # Foo
+> bar
+> baz
+
\ No newline at end of file
diff --git a/tests/commonmark/201-Block_quotes.md b/tests/commonmark/201-Block_quotes.md
new file mode 100644
index 0000000..57dfd4c
--- /dev/null
+++ b/tests/commonmark/201-Block_quotes.md
@@ -0,0 +1,3 @@
+ > # Foo
+ > bar
+ > baz
\ No newline at end of file
diff --git a/tests/commonmark/202-Block_quotes.html b/tests/commonmark/202-Block_quotes.html
new file mode 100644
index 0000000..20ddddd
--- /dev/null
+++ b/tests/commonmark/202-Block_quotes.html
@@ -0,0 +1,5 @@
+
+Foo
+bar
+baz
+
\ No newline at end of file
diff --git a/tests/commonmark/202-Block_quotes.md b/tests/commonmark/202-Block_quotes.md
new file mode 100644
index 0000000..6c0307a
--- /dev/null
+++ b/tests/commonmark/202-Block_quotes.md
@@ -0,0 +1,3 @@
+> # Foo
+> bar
+baz
\ No newline at end of file
diff --git a/tests/commonmark/203-Block_quotes.html b/tests/commonmark/203-Block_quotes.html
new file mode 100644
index 0000000..c3c2c6f
--- /dev/null
+++ b/tests/commonmark/203-Block_quotes.html
@@ -0,0 +1,5 @@
+
+bar
+baz
+foo
+
\ No newline at end of file
diff --git a/tests/commonmark/203-Block_quotes.md b/tests/commonmark/203-Block_quotes.md
new file mode 100644
index 0000000..fd5ee94
--- /dev/null
+++ b/tests/commonmark/203-Block_quotes.md
@@ -0,0 +1,3 @@
+> bar
+baz
+> foo
\ No newline at end of file
diff --git a/tests/commonmark/209-Block_quotes.html b/tests/commonmark/209-Block_quotes.html
index 3dd5072..9836f33 100644
--- a/tests/commonmark/209-Block_quotes.html
+++ b/tests/commonmark/209-Block_quotes.html
@@ -1,4 +1,2 @@
-foo
-bar
\ No newline at end of file
diff --git a/tests/commonmark/209-Block_quotes.md b/tests/commonmark/209-Block_quotes.md
index 9df29c4..0817502 100644
--- a/tests/commonmark/209-Block_quotes.md
+++ b/tests/commonmark/209-Block_quotes.md
@@ -1,2 +1 @@
-> foo
-> bar
\ No newline at end of file
+>
\ No newline at end of file
diff --git a/tests/commonmark/210-Block_quotes.html b/tests/commonmark/210-Block_quotes.html
index 418e5f2..9836f33 100644
--- a/tests/commonmark/210-Block_quotes.html
+++ b/tests/commonmark/210-Block_quotes.html
@@ -1,4 +1,2 @@
-foo
-bar
\ No newline at end of file
diff --git a/tests/commonmark/210-Block_quotes.md b/tests/commonmark/210-Block_quotes.md
index 0bfc5b6..8121aa6 100644
--- a/tests/commonmark/210-Block_quotes.md
+++ b/tests/commonmark/210-Block_quotes.md
@@ -1,3 +1,3 @@
-> foo
>
-> bar
\ No newline at end of file
+>
+>
\ No newline at end of file
diff --git a/tests/commonmark/211-Block_quotes.html b/tests/commonmark/211-Block_quotes.html
index 6e8c75c..725301b 100644
--- a/tests/commonmark/211-Block_quotes.html
+++ b/tests/commonmark/211-Block_quotes.html
@@ -1,4 +1,3 @@
-foo
-bar
+foo
\ No newline at end of file
diff --git a/tests/commonmark/211-Block_quotes.md b/tests/commonmark/211-Block_quotes.md
index 3db4d11..3bf5d36 100644
--- a/tests/commonmark/211-Block_quotes.md
+++ b/tests/commonmark/211-Block_quotes.md
@@ -1,2 +1,3 @@
-foo
-> bar
\ No newline at end of file
+>
+> foo
+>
\ No newline at end of file
diff --git a/tests/commonmark/212-Block_quotes.html b/tests/commonmark/212-Block_quotes.html
index fd753d6..1fd22a6 100644
--- a/tests/commonmark/212-Block_quotes.html
+++ b/tests/commonmark/212-Block_quotes.html
@@ -1,4 +1,6 @@
-bar
-baz
+foo
+
+
+bar
\ No newline at end of file
diff --git a/tests/commonmark/212-Block_quotes.md b/tests/commonmark/212-Block_quotes.md
index 305e7f2..798ccf8 100644
--- a/tests/commonmark/212-Block_quotes.md
+++ b/tests/commonmark/212-Block_quotes.md
@@ -1,2 +1,3 @@
-> bar
-baz
\ No newline at end of file
+> foo
+
+> bar
\ No newline at end of file
diff --git a/tests/commonmark/213-Block_quotes.html b/tests/commonmark/213-Block_quotes.html
index fd753d6..3dd5072 100644
--- a/tests/commonmark/213-Block_quotes.html
+++ b/tests/commonmark/213-Block_quotes.html
@@ -1,4 +1,4 @@
-bar
-baz
+foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/213-Block_quotes.md b/tests/commonmark/213-Block_quotes.md
index 305e7f2..9df29c4 100644
--- a/tests/commonmark/213-Block_quotes.md
+++ b/tests/commonmark/213-Block_quotes.md
@@ -1,2 +1,2 @@
-> bar
-baz
\ No newline at end of file
+> foo
+> bar
\ No newline at end of file
diff --git a/tests/commonmark/214-Block_quotes.html b/tests/commonmark/214-Block_quotes.html
index 71ff74e..418e5f2 100644
--- a/tests/commonmark/214-Block_quotes.html
+++ b/tests/commonmark/214-Block_quotes.html
@@ -1,4 +1,4 @@
+foo
bar
-
-baz
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/214-Block_quotes.md b/tests/commonmark/214-Block_quotes.md
index 66c49af..0bfc5b6 100644
--- a/tests/commonmark/214-Block_quotes.md
+++ b/tests/commonmark/214-Block_quotes.md
@@ -1,3 +1,3 @@
-> bar
-
-baz
\ No newline at end of file
+> foo
+>
+> bar
\ No newline at end of file
diff --git a/tests/commonmark/215-Block_quotes.html b/tests/commonmark/215-Block_quotes.html
index 93ca8bf..6e8c75c 100644
--- a/tests/commonmark/215-Block_quotes.html
+++ b/tests/commonmark/215-Block_quotes.html
@@ -1,8 +1,4 @@
+foo
-
-
-foo
-bar
-
-
+bar
\ No newline at end of file
diff --git a/tests/commonmark/215-Block_quotes.md b/tests/commonmark/215-Block_quotes.md
index a047303..3db4d11 100644
--- a/tests/commonmark/215-Block_quotes.md
+++ b/tests/commonmark/215-Block_quotes.md
@@ -1,2 +1,2 @@
-> > > foo
-bar
\ No newline at end of file
+foo
+> bar
\ No newline at end of file
diff --git a/tests/commonmark/217-Block_quotes.html b/tests/commonmark/217-Block_quotes.html
index 1fcf773..fd753d6 100644
--- a/tests/commonmark/217-Block_quotes.html
+++ b/tests/commonmark/217-Block_quotes.html
@@ -1,9 +1,4 @@
-
-
-foo
-bar
+
bar
baz
-
-
\ No newline at end of file
diff --git a/tests/commonmark/217-Block_quotes.md b/tests/commonmark/217-Block_quotes.md
index 84e57fc..305e7f2 100644
--- a/tests/commonmark/217-Block_quotes.md
+++ b/tests/commonmark/217-Block_quotes.md
@@ -1,3 +1,2 @@
->>> foo
> bar
->>baz
\ No newline at end of file
+baz
\ No newline at end of file
diff --git a/tests/commonmark/218-Block_quotes.html b/tests/commonmark/218-Block_quotes.html
index b5309f1..71ff74e 100644
--- a/tests/commonmark/218-Block_quotes.html
+++ b/tests/commonmark/218-Block_quotes.html
@@ -1,7 +1,4 @@
-code
-
+bar
-
-not code
-
\ No newline at end of file
+baz
\ No newline at end of file
diff --git a/tests/commonmark/218-Block_quotes.md b/tests/commonmark/218-Block_quotes.md
index 35bcd3d..66c49af 100644
--- a/tests/commonmark/218-Block_quotes.md
+++ b/tests/commonmark/218-Block_quotes.md
@@ -1,3 +1,3 @@
-> code
+> bar
-> not code
\ No newline at end of file
+baz
\ No newline at end of file
diff --git a/tests/commonmark/220-Block_quotes.html b/tests/commonmark/220-Block_quotes.html
new file mode 100644
index 0000000..93ca8bf
--- /dev/null
+++ b/tests/commonmark/220-Block_quotes.html
@@ -0,0 +1,8 @@
+
+
+
+foo
+bar
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/220-Block_quotes.md b/tests/commonmark/220-Block_quotes.md
new file mode 100644
index 0000000..a047303
--- /dev/null
+++ b/tests/commonmark/220-Block_quotes.md
@@ -0,0 +1,2 @@
+> > > foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/221-Block_quotes.html b/tests/commonmark/221-Block_quotes.html
new file mode 100644
index 0000000..1fcf773
--- /dev/null
+++ b/tests/commonmark/221-Block_quotes.html
@@ -0,0 +1,9 @@
+
+
+
+foo
+bar
+baz
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/221-Block_quotes.md b/tests/commonmark/221-Block_quotes.md
new file mode 100644
index 0000000..84e57fc
--- /dev/null
+++ b/tests/commonmark/221-Block_quotes.md
@@ -0,0 +1,3 @@
+>>> foo
+> bar
+>>baz
\ No newline at end of file
diff --git a/tests/commonmark/222-Block_quotes.html b/tests/commonmark/222-Block_quotes.html
new file mode 100644
index 0000000..b5309f1
--- /dev/null
+++ b/tests/commonmark/222-Block_quotes.html
@@ -0,0 +1,7 @@
+
+code
+
+
+
+not code
+
\ No newline at end of file
diff --git a/tests/commonmark/222-Block_quotes.md b/tests/commonmark/222-Block_quotes.md
new file mode 100644
index 0000000..35bcd3d
--- /dev/null
+++ b/tests/commonmark/222-Block_quotes.md
@@ -0,0 +1,3 @@
+> code
+
+> not code
\ No newline at end of file
diff --git a/tests/commonmark/223-List_items.html b/tests/commonmark/223-List_items.html
index d7eb7ea..8563be2 100644
--- a/tests/commonmark/223-List_items.html
+++ b/tests/commonmark/223-List_items.html
@@ -1,5 +1,7 @@
-
-- one
-
- two
-
\ No newline at end of file
+A paragraph
+with two lines.
+indented code
+
+
+A block quote.
+
\ No newline at end of file
diff --git a/tests/commonmark/223-List_items.md b/tests/commonmark/223-List_items.md
index a71869b..734888b 100644
--- a/tests/commonmark/223-List_items.md
+++ b/tests/commonmark/223-List_items.md
@@ -1,3 +1,6 @@
- - one
+A paragraph
+with two lines.
- two
\ No newline at end of file
+ indented code
+
+> A block quote.
\ No newline at end of file
diff --git a/tests/commonmark/224-List_items.html b/tests/commonmark/224-List_items.html
index dff8ed2..74dbf06 100644
--- a/tests/commonmark/224-List_items.html
+++ b/tests/commonmark/224-List_items.html
@@ -1,6 +1,11 @@
-
+
-
-
one
-two
+A paragraph
+with two lines.
+indented code
+
+
+A block quote.
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/224-List_items.md b/tests/commonmark/224-List_items.md
index 3384a6a..315be8e 100644
--- a/tests/commonmark/224-List_items.md
+++ b/tests/commonmark/224-List_items.md
@@ -1,3 +1,6 @@
- - one
+1. A paragraph
+ with two lines.
- two
\ No newline at end of file
+ indented code
+
+ > A block quote.
\ No newline at end of file
diff --git a/tests/commonmark/225-List_items.html b/tests/commonmark/225-List_items.html
index 52dbeaa..389bed3 100644
--- a/tests/commonmark/225-List_items.html
+++ b/tests/commonmark/225-List_items.html
@@ -1,10 +1,4 @@
-
-
-
--
-
one
-two
-
-
-
-
\ No newline at end of file
+
+- one
+
+two
\ No newline at end of file
diff --git a/tests/commonmark/225-List_items.md b/tests/commonmark/225-List_items.md
index 336564c..006e6b2 100644
--- a/tests/commonmark/225-List_items.md
+++ b/tests/commonmark/225-List_items.md
@@ -1,3 +1,3 @@
- > > 1. one
->>
->> two
\ No newline at end of file
+- one
+
+ two
\ No newline at end of file
diff --git a/tests/commonmark/226-List_items.html b/tests/commonmark/226-List_items.html
index c043cc9..dff8ed2 100644
--- a/tests/commonmark/226-List_items.html
+++ b/tests/commonmark/226-List_items.html
@@ -1,8 +1,6 @@
-
-
-- one
-
+
+one
two
-
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/tests/commonmark/226-List_items.md b/tests/commonmark/226-List_items.md
index 31bc81d..78174af 100644
--- a/tests/commonmark/226-List_items.md
+++ b/tests/commonmark/226-List_items.md
@@ -1,3 +1,3 @@
->>- one
->>
- > > two
\ No newline at end of file
+- one
+
+ two
\ No newline at end of file
diff --git a/tests/commonmark/227-List_items.html b/tests/commonmark/227-List_items.html
index 433e3a9..d7eb7ea 100644
--- a/tests/commonmark/227-List_items.html
+++ b/tests/commonmark/227-List_items.html
@@ -1,2 +1,5 @@
--one
-2.two
\ No newline at end of file
+
+- one
+
+ two
+
\ No newline at end of file
diff --git a/tests/commonmark/227-List_items.md b/tests/commonmark/227-List_items.md
index 762b89b..a71869b 100644
--- a/tests/commonmark/227-List_items.md
+++ b/tests/commonmark/227-List_items.md
@@ -1,3 +1,3 @@
--one
+ - one
-2.two
\ No newline at end of file
+ two
\ No newline at end of file
diff --git a/tests/commonmark/228-List_items.html b/tests/commonmark/228-List_items.html
index c117426..dff8ed2 100644
--- a/tests/commonmark/228-List_items.html
+++ b/tests/commonmark/228-List_items.html
@@ -1,6 +1,6 @@
-
-
foo
-bar
+one
+two
\ No newline at end of file
diff --git a/tests/commonmark/228-List_items.md b/tests/commonmark/228-List_items.md
index dbee170..3384a6a 100644
--- a/tests/commonmark/228-List_items.md
+++ b/tests/commonmark/228-List_items.md
@@ -1,4 +1,3 @@
-- foo
+ - one
-
- bar
\ No newline at end of file
+ two
\ No newline at end of file
diff --git a/tests/commonmark/229-List_items.html b/tests/commonmark/229-List_items.html
index 20c1a4c..52dbeaa 100644
--- a/tests/commonmark/229-List_items.html
+++ b/tests/commonmark/229-List_items.html
@@ -1,11 +1,10 @@
+
+
-
-
foo
-bar
-
-baz
-
-bam
-
+one
+two
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/229-List_items.md b/tests/commonmark/229-List_items.md
index b5ff724..336564c 100644
--- a/tests/commonmark/229-List_items.md
+++ b/tests/commonmark/229-List_items.md
@@ -1,9 +1,3 @@
-1. foo
-
- ```
- bar
- ```
-
- baz
-
- > bam
\ No newline at end of file
+ > > 1. one
+>>
+>> two
\ No newline at end of file
diff --git a/tests/commonmark/230-List_items.html b/tests/commonmark/230-List_items.html
index 4fff893..c043cc9 100644
--- a/tests/commonmark/230-List_items.html
+++ b/tests/commonmark/230-List_items.html
@@ -1,10 +1,8 @@
+
+
--
-
Foo
-bar
-
-
-baz
-
-
-
\ No newline at end of file
+one
+
+two
+
+
\ No newline at end of file
diff --git a/tests/commonmark/230-List_items.md b/tests/commonmark/230-List_items.md
index 20e5c79..31bc81d 100644
--- a/tests/commonmark/230-List_items.md
+++ b/tests/commonmark/230-List_items.md
@@ -1,6 +1,3 @@
-- Foo
-
- bar
-
-
- baz
\ No newline at end of file
+>>- one
+>>
+ > > two
\ No newline at end of file
diff --git a/tests/commonmark/231-List_items.html b/tests/commonmark/231-List_items.html
index c99bffc..433e3a9 100644
--- a/tests/commonmark/231-List_items.html
+++ b/tests/commonmark/231-List_items.html
@@ -1,3 +1,2 @@
-
-- ok
-
\ No newline at end of file
+-one
+2.two
\ No newline at end of file
diff --git a/tests/commonmark/231-List_items.md b/tests/commonmark/231-List_items.md
index 95f7fa4..762b89b 100644
--- a/tests/commonmark/231-List_items.md
+++ b/tests/commonmark/231-List_items.md
@@ -1 +1,3 @@
-123456789. ok
\ No newline at end of file
+-one
+
+2.two
\ No newline at end of file
diff --git a/tests/commonmark/232-List_items.html b/tests/commonmark/232-List_items.html
index 622e825..c117426 100644
--- a/tests/commonmark/232-List_items.html
+++ b/tests/commonmark/232-List_items.html
@@ -1 +1,6 @@
-1234567890. not ok
\ No newline at end of file
+
+-
+
foo
+bar
+
+
\ No newline at end of file
diff --git a/tests/commonmark/232-List_items.md b/tests/commonmark/232-List_items.md
index ce7f411..dbee170 100644
--- a/tests/commonmark/232-List_items.md
+++ b/tests/commonmark/232-List_items.md
@@ -1 +1,4 @@
-1234567890. not ok
\ No newline at end of file
+- foo
+
+
+ bar
\ No newline at end of file
diff --git a/tests/commonmark/233-List_items.html b/tests/commonmark/233-List_items.html
index f474645..20c1a4c 100644
--- a/tests/commonmark/233-List_items.html
+++ b/tests/commonmark/233-List_items.html
@@ -1,3 +1,11 @@
-
-- ok
+
+-
+
foo
+bar
+
+baz
+
+bam
+
+
\ No newline at end of file
diff --git a/tests/commonmark/233-List_items.md b/tests/commonmark/233-List_items.md
index e33ab62..b5ff724 100644
--- a/tests/commonmark/233-List_items.md
+++ b/tests/commonmark/233-List_items.md
@@ -1 +1,9 @@
-0. ok
\ No newline at end of file
+1. foo
+
+ ```
+ bar
+ ```
+
+ baz
+
+ > bam
\ No newline at end of file
diff --git a/tests/commonmark/234-List_items.html b/tests/commonmark/234-List_items.html
index 26057d8..4fff893 100644
--- a/tests/commonmark/234-List_items.html
+++ b/tests/commonmark/234-List_items.html
@@ -1,3 +1,10 @@
-
-- ok
-
\ No newline at end of file
+
+-
+
Foo
+bar
+
+
+baz
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/234-List_items.md b/tests/commonmark/234-List_items.md
index b094e60..20e5c79 100644
--- a/tests/commonmark/234-List_items.md
+++ b/tests/commonmark/234-List_items.md
@@ -1 +1,6 @@
-003. ok
\ No newline at end of file
+- Foo
+
+ bar
+
+
+ baz
\ No newline at end of file
diff --git a/tests/commonmark/235-List_items.html b/tests/commonmark/235-List_items.html
index f3a29a7..c99bffc 100644
--- a/tests/commonmark/235-List_items.html
+++ b/tests/commonmark/235-List_items.html
@@ -1 +1,3 @@
--1. not ok
\ No newline at end of file
+
+- ok
+
\ No newline at end of file
diff --git a/tests/commonmark/235-List_items.md b/tests/commonmark/235-List_items.md
index 86ac1ac..95f7fa4 100644
--- a/tests/commonmark/235-List_items.md
+++ b/tests/commonmark/235-List_items.md
@@ -1 +1 @@
--1. not ok
\ No newline at end of file
+123456789. ok
\ No newline at end of file
diff --git a/tests/commonmark/236-List_items.html b/tests/commonmark/236-List_items.html
index d5c735c..622e825 100644
--- a/tests/commonmark/236-List_items.html
+++ b/tests/commonmark/236-List_items.html
@@ -1,7 +1 @@
-
--
-
foo
-bar
-
-
-
\ No newline at end of file
+1234567890. not ok
\ No newline at end of file
diff --git a/tests/commonmark/236-List_items.md b/tests/commonmark/236-List_items.md
index e247c45..ce7f411 100644
--- a/tests/commonmark/236-List_items.md
+++ b/tests/commonmark/236-List_items.md
@@ -1,3 +1 @@
-- foo
-
- bar
\ No newline at end of file
+1234567890. not ok
\ No newline at end of file
diff --git a/tests/commonmark/237-List_items.html b/tests/commonmark/237-List_items.html
index c5bc23d..f474645 100644
--- a/tests/commonmark/237-List_items.html
+++ b/tests/commonmark/237-List_items.html
@@ -1,7 +1,3 @@
-
--
-
foo
-bar
-
-
+
+- ok
\ No newline at end of file
diff --git a/tests/commonmark/237-List_items.md b/tests/commonmark/237-List_items.md
index fffb323..e33ab62 100644
--- a/tests/commonmark/237-List_items.md
+++ b/tests/commonmark/237-List_items.md
@@ -1,3 +1 @@
- 10. foo
-
- bar
\ No newline at end of file
+0. ok
\ No newline at end of file
diff --git a/tests/commonmark/238-List_items.html b/tests/commonmark/238-List_items.html
index 79acaf5..26057d8 100644
--- a/tests/commonmark/238-List_items.html
+++ b/tests/commonmark/238-List_items.html
@@ -1,5 +1,3 @@
-indented code
-
-paragraph
-more code
-
\ No newline at end of file
+
+- ok
+
\ No newline at end of file
diff --git a/tests/commonmark/238-List_items.md b/tests/commonmark/238-List_items.md
index 754fa62..b094e60 100644
--- a/tests/commonmark/238-List_items.md
+++ b/tests/commonmark/238-List_items.md
@@ -1,5 +1 @@
- indented code
-
-paragraph
-
- more code
\ No newline at end of file
+003. ok
\ No newline at end of file
diff --git a/tests/commonmark/239-List_items.html b/tests/commonmark/239-List_items.html
index 9954cf7..f3a29a7 100644
--- a/tests/commonmark/239-List_items.html
+++ b/tests/commonmark/239-List_items.html
@@ -1,9 +1 @@
-
--
-
indented code
-
-paragraph
-more code
-
-
-
\ No newline at end of file
+-1. not ok
\ No newline at end of file
diff --git a/tests/commonmark/239-List_items.md b/tests/commonmark/239-List_items.md
index 3b04a81..86ac1ac 100644
--- a/tests/commonmark/239-List_items.md
+++ b/tests/commonmark/239-List_items.md
@@ -1,5 +1 @@
-1. indented code
-
- paragraph
-
- more code
\ No newline at end of file
+-1. not ok
\ No newline at end of file
diff --git a/tests/commonmark/240-List_items.html b/tests/commonmark/240-List_items.html
index b732229..d5c735c 100644
--- a/tests/commonmark/240-List_items.html
+++ b/tests/commonmark/240-List_items.html
@@ -1,9 +1,7 @@
-
+
-
-
indented code
-
-paragraph
-more code
+foo
+bar
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/240-List_items.md b/tests/commonmark/240-List_items.md
index f6ef6db..e247c45 100644
--- a/tests/commonmark/240-List_items.md
+++ b/tests/commonmark/240-List_items.md
@@ -1,5 +1,3 @@
-1. indented code
+- foo
- paragraph
-
- more code
\ No newline at end of file
+ bar
\ No newline at end of file
diff --git a/tests/commonmark/241-List_items.html b/tests/commonmark/241-List_items.html
index fc651ec..c5bc23d 100644
--- a/tests/commonmark/241-List_items.html
+++ b/tests/commonmark/241-List_items.html
@@ -1,2 +1,7 @@
+
+-
foo
-bar
\ No newline at end of file
+bar
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/241-List_items.md b/tests/commonmark/241-List_items.md
index aa69f64..fffb323 100644
--- a/tests/commonmark/241-List_items.md
+++ b/tests/commonmark/241-List_items.md
@@ -1,3 +1,3 @@
- foo
+ 10. foo
-bar
\ No newline at end of file
+ bar
\ No newline at end of file
diff --git a/tests/commonmark/242-List_items.html b/tests/commonmark/242-List_items.html
index c804de3..79acaf5 100644
--- a/tests/commonmark/242-List_items.html
+++ b/tests/commonmark/242-List_items.html
@@ -1,4 +1,5 @@
-
-- foo
-
-bar
\ No newline at end of file
+indented code
+
+paragraph
+more code
+
\ No newline at end of file
diff --git a/tests/commonmark/242-List_items.md b/tests/commonmark/242-List_items.md
index 4660495..754fa62 100644
--- a/tests/commonmark/242-List_items.md
+++ b/tests/commonmark/242-List_items.md
@@ -1,3 +1,5 @@
-- foo
+ indented code
- bar
\ No newline at end of file
+paragraph
+
+ more code
\ No newline at end of file
diff --git a/tests/commonmark/243-List_items.html b/tests/commonmark/243-List_items.html
index c117426..9954cf7 100644
--- a/tests/commonmark/243-List_items.html
+++ b/tests/commonmark/243-List_items.html
@@ -1,6 +1,9 @@
-
+
-
-
foo
-bar
+indented code
+
+paragraph
+more code
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/243-List_items.md b/tests/commonmark/243-List_items.md
index 2669cb0..3b04a81 100644
--- a/tests/commonmark/243-List_items.md
+++ b/tests/commonmark/243-List_items.md
@@ -1,3 +1,5 @@
-- foo
+1. indented code
- bar
\ No newline at end of file
+ paragraph
+
+ more code
\ No newline at end of file
diff --git a/tests/commonmark/244-List_items.html b/tests/commonmark/244-List_items.html
index 805c65e..b732229 100644
--- a/tests/commonmark/244-List_items.html
+++ b/tests/commonmark/244-List_items.html
@@ -1,3 +1,9 @@
-
-- foo
-
\ No newline at end of file
+
+-
+
indented code
+
+paragraph
+more code
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/244-List_items.md b/tests/commonmark/244-List_items.md
index 354d5de..f6ef6db 100644
--- a/tests/commonmark/244-List_items.md
+++ b/tests/commonmark/244-List_items.md
@@ -1,2 +1,5 @@
--
- foo
\ No newline at end of file
+1. indented code
+
+ paragraph
+
+ more code
\ No newline at end of file
diff --git a/tests/commonmark/245-List_items.html b/tests/commonmark/245-List_items.html
index 805c65e..fc651ec 100644
--- a/tests/commonmark/245-List_items.html
+++ b/tests/commonmark/245-List_items.html
@@ -1,3 +1,2 @@
-
-- foo
-
\ No newline at end of file
+foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/245-List_items.md b/tests/commonmark/245-List_items.md
index 354d5de..aa69f64 100644
--- a/tests/commonmark/245-List_items.md
+++ b/tests/commonmark/245-List_items.md
@@ -1,2 +1,3 @@
--
- foo
\ No newline at end of file
+ foo
+
+bar
\ No newline at end of file
diff --git a/tests/commonmark/246-List_items.html b/tests/commonmark/246-List_items.html
index dd5a80d..c804de3 100644
--- a/tests/commonmark/246-List_items.html
+++ b/tests/commonmark/246-List_items.html
@@ -1,4 +1,4 @@
-
+- foo
-foo
\ No newline at end of file
+bar
\ No newline at end of file
diff --git a/tests/commonmark/246-List_items.md b/tests/commonmark/246-List_items.md
index f124fb9..4660495 100644
--- a/tests/commonmark/246-List_items.md
+++ b/tests/commonmark/246-List_items.md
@@ -1,3 +1,3 @@
--
+- foo
- foo
\ No newline at end of file
+ bar
\ No newline at end of file
diff --git a/tests/commonmark/247-List_items.html b/tests/commonmark/247-List_items.html
index c15ea05..c117426 100644
--- a/tests/commonmark/247-List_items.html
+++ b/tests/commonmark/247-List_items.html
@@ -1,5 +1,6 @@
-- foo
-
-- bar
+-
+
foo
+bar
+
\ No newline at end of file
diff --git a/tests/commonmark/247-List_items.md b/tests/commonmark/247-List_items.md
index 4d53226..2669cb0 100644
--- a/tests/commonmark/247-List_items.md
+++ b/tests/commonmark/247-List_items.md
@@ -1,3 +1,3 @@
-- foo
--
-- bar
\ No newline at end of file
+- foo
+
+ bar
\ No newline at end of file
diff --git a/tests/commonmark/249-List_items.html b/tests/commonmark/249-List_items.html
index 5b1cc29..805c65e 100644
--- a/tests/commonmark/249-List_items.html
+++ b/tests/commonmark/249-List_items.html
@@ -1,5 +1,3 @@
-
+
- foo
-
-- bar
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/249-List_items.md b/tests/commonmark/249-List_items.md
index 390f803..354d5de 100644
--- a/tests/commonmark/249-List_items.md
+++ b/tests/commonmark/249-List_items.md
@@ -1,3 +1,2 @@
-1. foo
-2.
-3. bar
\ No newline at end of file
+-
+ foo
\ No newline at end of file
diff --git a/tests/commonmark/250-List_items.html b/tests/commonmark/250-List_items.html
index 1774745..dd5a80d 100644
--- a/tests/commonmark/250-List_items.html
+++ b/tests/commonmark/250-List_items.html
@@ -1,3 +1,4 @@
-
\ No newline at end of file
+
+foo
\ No newline at end of file
diff --git a/tests/commonmark/250-List_items.md b/tests/commonmark/250-List_items.md
index f59ec20..f124fb9 100644
--- a/tests/commonmark/250-List_items.md
+++ b/tests/commonmark/250-List_items.md
@@ -1 +1,3 @@
-*
\ No newline at end of file
+-
+
+ foo
\ No newline at end of file
diff --git a/tests/commonmark/251-List_items.html b/tests/commonmark/251-List_items.html
index 74dbf06..c15ea05 100644
--- a/tests/commonmark/251-List_items.html
+++ b/tests/commonmark/251-List_items.html
@@ -1,11 +1,5 @@
-
--
-
A paragraph
-with two lines.
-indented code
-
-
-A block quote.
-
-
-
\ No newline at end of file
+
+- foo
+
+- bar
+
\ No newline at end of file
diff --git a/tests/commonmark/251-List_items.md b/tests/commonmark/251-List_items.md
index 25e8021..4d53226 100644
--- a/tests/commonmark/251-List_items.md
+++ b/tests/commonmark/251-List_items.md
@@ -1,6 +1,3 @@
- 1. A paragraph
- with two lines.
-
- indented code
-
- > A block quote.
\ No newline at end of file
+- foo
+-
+- bar
\ No newline at end of file
diff --git a/tests/commonmark/252-List_items.html b/tests/commonmark/252-List_items.html
index 74dbf06..c15ea05 100644
--- a/tests/commonmark/252-List_items.html
+++ b/tests/commonmark/252-List_items.html
@@ -1,11 +1,5 @@
-
--
-
A paragraph
-with two lines.
-indented code
-
-
-A block quote.
-
-
-
\ No newline at end of file
+
+- foo
+
+- bar
+
\ No newline at end of file
diff --git a/tests/commonmark/252-List_items.md b/tests/commonmark/252-List_items.md
index 25e8021..2fd44d0 100644
--- a/tests/commonmark/252-List_items.md
+++ b/tests/commonmark/252-List_items.md
@@ -1,6 +1,3 @@
- 1. A paragraph
- with two lines.
-
- indented code
-
- > A block quote.
\ No newline at end of file
+- foo
+-
+- bar
\ No newline at end of file
diff --git a/tests/commonmark/253-List_items.html b/tests/commonmark/253-List_items.html
index 74dbf06..5b1cc29 100644
--- a/tests/commonmark/253-List_items.html
+++ b/tests/commonmark/253-List_items.html
@@ -1,11 +1,5 @@
--
-
A paragraph
-with two lines.
-indented code
-
-
-A block quote.
-
-
+- foo
+
+- bar
\ No newline at end of file
diff --git a/tests/commonmark/253-List_items.md b/tests/commonmark/253-List_items.md
index 346d62f..390f803 100644
--- a/tests/commonmark/253-List_items.md
+++ b/tests/commonmark/253-List_items.md
@@ -1,6 +1,3 @@
- 1. A paragraph
- with two lines.
-
- indented code
-
- > A block quote.
\ No newline at end of file
+1. foo
+2.
+3. bar
\ No newline at end of file
diff --git a/tests/commonmark/254-List_items.html b/tests/commonmark/254-List_items.html
index 74dbf06..1774745 100644
--- a/tests/commonmark/254-List_items.html
+++ b/tests/commonmark/254-List_items.html
@@ -1,11 +1,3 @@
-
--
-
A paragraph
-with two lines.
-indented code
-
-
-A block quote.
-
-
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/254-List_items.md b/tests/commonmark/254-List_items.md
index c836837..f59ec20 100644
--- a/tests/commonmark/254-List_items.md
+++ b/tests/commonmark/254-List_items.md
@@ -1,6 +1 @@
- 1. A paragraph
- with two lines.
-
- indented code
-
- > A block quote.
\ No newline at end of file
+*
\ No newline at end of file
diff --git a/tests/commonmark/256-List_items.md b/tests/commonmark/256-List_items.md
index 1611c82..25e8021 100644
--- a/tests/commonmark/256-List_items.md
+++ b/tests/commonmark/256-List_items.md
@@ -1,6 +1,6 @@
- 1. A paragraph
-with two lines.
+ 1. A paragraph
+ with two lines.
- indented code
+ indented code
- > A block quote.
\ No newline at end of file
+ > A block quote.
\ No newline at end of file
diff --git a/tests/commonmark/257-List_items.html b/tests/commonmark/257-List_items.html
index 04468e3..74dbf06 100644
--- a/tests/commonmark/257-List_items.html
+++ b/tests/commonmark/257-List_items.html
@@ -1,4 +1,11 @@
-- A paragraph
-with two lines.
+-
+
A paragraph
+with two lines.
+indented code
+
+
+A block quote.
+
+
\ No newline at end of file
diff --git a/tests/commonmark/257-List_items.md b/tests/commonmark/257-List_items.md
index 4c8ecbe..346d62f 100644
--- a/tests/commonmark/257-List_items.md
+++ b/tests/commonmark/257-List_items.md
@@ -1,2 +1,6 @@
1. A paragraph
- with two lines.
\ No newline at end of file
+ with two lines.
+
+ indented code
+
+ > A block quote.
\ No newline at end of file
diff --git a/tests/commonmark/258-List_items.html b/tests/commonmark/258-List_items.html
index 4099581..74dbf06 100644
--- a/tests/commonmark/258-List_items.html
+++ b/tests/commonmark/258-List_items.html
@@ -1,10 +1,11 @@
-
-
+
A paragraph
+with two lines.
+indented code
+
-Blockquote
-continued here.
+A block quote.
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/258-List_items.md b/tests/commonmark/258-List_items.md
index 9585690..c836837 100644
--- a/tests/commonmark/258-List_items.md
+++ b/tests/commonmark/258-List_items.md
@@ -1,2 +1,6 @@
-> 1. > Blockquote
-continued here.
\ No newline at end of file
+ 1. A paragraph
+ with two lines.
+
+ indented code
+
+ > A block quote.
\ No newline at end of file
diff --git a/tests/commonmark/259-List_items.html b/tests/commonmark/259-List_items.html
index 4099581..7796990 100644
--- a/tests/commonmark/259-List_items.html
+++ b/tests/commonmark/259-List_items.html
@@ -1,10 +1,7 @@
-
-
--
-
-Blockquote
-continued here.
-
-
-
-
\ No newline at end of file
+1. A paragraph
+ with two lines.
+
+ indented code
+
+ > A block quote.
+
\ No newline at end of file
diff --git a/tests/commonmark/259-List_items.md b/tests/commonmark/259-List_items.md
index e90c816..54bc0b7 100644
--- a/tests/commonmark/259-List_items.md
+++ b/tests/commonmark/259-List_items.md
@@ -1,2 +1,6 @@
-> 1. > Blockquote
-> continued here.
\ No newline at end of file
+ 1. A paragraph
+ with two lines.
+
+ indented code
+
+ > A block quote.
\ No newline at end of file
diff --git a/tests/commonmark/260-List_items.html b/tests/commonmark/260-List_items.html
index 4298832..74dbf06 100644
--- a/tests/commonmark/260-List_items.html
+++ b/tests/commonmark/260-List_items.html
@@ -1,15 +1,11 @@
-
-- foo
-
-- bar
-
-- baz
-
-- boo
-
+
+-
+
A paragraph
+with two lines.
+indented code
+
+
+A block quote.
+
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/260-List_items.md b/tests/commonmark/260-List_items.md
index 65fb1f0..1611c82 100644
--- a/tests/commonmark/260-List_items.md
+++ b/tests/commonmark/260-List_items.md
@@ -1,4 +1,6 @@
-- foo
- - bar
- - baz
- - boo
\ No newline at end of file
+ 1. A paragraph
+with two lines.
+
+ indented code
+
+ > A block quote.
\ No newline at end of file
diff --git a/tests/commonmark/261-List_items.html b/tests/commonmark/261-List_items.html
index 1189329..04468e3 100644
--- a/tests/commonmark/261-List_items.html
+++ b/tests/commonmark/261-List_items.html
@@ -1,6 +1,4 @@
-
-- foo
-- bar
-- baz
-- boo
-
\ No newline at end of file
+
+- A paragraph
+with two lines.
+
\ No newline at end of file
diff --git a/tests/commonmark/261-List_items.md b/tests/commonmark/261-List_items.md
index 8ed9bdc..4c8ecbe 100644
--- a/tests/commonmark/261-List_items.md
+++ b/tests/commonmark/261-List_items.md
@@ -1,4 +1,2 @@
-- foo
- - bar
- - baz
- - boo
\ No newline at end of file
+ 1. A paragraph
+ with two lines.
\ No newline at end of file
diff --git a/tests/commonmark/262-List_items.html b/tests/commonmark/262-List_items.html
index 22b9bcb..4099581 100644
--- a/tests/commonmark/262-List_items.html
+++ b/tests/commonmark/262-List_items.html
@@ -1,7 +1,10 @@
-
-- foo
-
-- bar
-
+
+
+-
+
+Blockquote
+continued here.
+
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/tests/commonmark/262-List_items.md b/tests/commonmark/262-List_items.md
index 05f00dc..9585690 100644
--- a/tests/commonmark/262-List_items.md
+++ b/tests/commonmark/262-List_items.md
@@ -1,2 +1,2 @@
-10) foo
- - bar
\ No newline at end of file
+> 1. > Blockquote
+continued here.
\ No newline at end of file
diff --git a/tests/commonmark/263-List_items.html b/tests/commonmark/263-List_items.html
index f9525a7..4099581 100644
--- a/tests/commonmark/263-List_items.html
+++ b/tests/commonmark/263-List_items.html
@@ -1,6 +1,10 @@
-
-- foo
+
+
+-
+
+Blockquote
+continued here.
+
+
-
-- bar
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/263-List_items.md b/tests/commonmark/263-List_items.md
index 7c915fc..e90c816 100644
--- a/tests/commonmark/263-List_items.md
+++ b/tests/commonmark/263-List_items.md
@@ -1,2 +1,2 @@
-10) foo
- - bar
\ No newline at end of file
+> 1. > Blockquote
+> continued here.
\ No newline at end of file
diff --git a/tests/commonmark/264-List_items.html b/tests/commonmark/264-List_items.html
index 6628373..4298832 100644
--- a/tests/commonmark/264-List_items.html
+++ b/tests/commonmark/264-List_items.html
@@ -1,7 +1,15 @@
--
+
- foo
-- foo
+- bar
+
+- baz
+
+- boo
+
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/264-List_items.md b/tests/commonmark/264-List_items.md
index e540537..65fb1f0 100644
--- a/tests/commonmark/264-List_items.md
+++ b/tests/commonmark/264-List_items.md
@@ -1 +1,4 @@
-- - foo
\ No newline at end of file
+- foo
+ - bar
+ - baz
+ - boo
\ No newline at end of file
diff --git a/tests/commonmark/265-List_items.html b/tests/commonmark/265-List_items.html
index 9acd4d0..1189329 100644
--- a/tests/commonmark/265-List_items.html
+++ b/tests/commonmark/265-List_items.html
@@ -1,11 +1,6 @@
-
--
--
-
- foo
-
-
-
-
-
\ No newline at end of file
+- bar
+- baz
+- boo
+
\ No newline at end of file
diff --git a/tests/commonmark/265-List_items.md b/tests/commonmark/265-List_items.md
index 1671802..8ed9bdc 100644
--- a/tests/commonmark/265-List_items.md
+++ b/tests/commonmark/265-List_items.md
@@ -1 +1,4 @@
-1. - 2. foo
\ No newline at end of file
+- foo
+ - bar
+ - baz
+ - boo
\ No newline at end of file
diff --git a/tests/commonmark/266-List_items.html b/tests/commonmark/266-List_items.html
new file mode 100644
index 0000000..22b9bcb
--- /dev/null
+++ b/tests/commonmark/266-List_items.html
@@ -0,0 +1,7 @@
+
+- foo
+
+- bar
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/266-List_items.md b/tests/commonmark/266-List_items.md
new file mode 100644
index 0000000..05f00dc
--- /dev/null
+++ b/tests/commonmark/266-List_items.md
@@ -0,0 +1,2 @@
+10) foo
+ - bar
\ No newline at end of file
diff --git a/tests/commonmark/267-List_items.html b/tests/commonmark/267-List_items.html
new file mode 100644
index 0000000..f9525a7
--- /dev/null
+++ b/tests/commonmark/267-List_items.html
@@ -0,0 +1,6 @@
+
+- foo
+
+
+- bar
+
\ No newline at end of file
diff --git a/tests/commonmark/267-List_items.md b/tests/commonmark/267-List_items.md
new file mode 100644
index 0000000..7c915fc
--- /dev/null
+++ b/tests/commonmark/267-List_items.md
@@ -0,0 +1,2 @@
+10) foo
+ - bar
\ No newline at end of file
diff --git a/tests/commonmark/268-List_items.html b/tests/commonmark/268-List_items.html
new file mode 100644
index 0000000..6628373
--- /dev/null
+++ b/tests/commonmark/268-List_items.html
@@ -0,0 +1,7 @@
+
+-
+
+- foo
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/268-List_items.md b/tests/commonmark/268-List_items.md
new file mode 100644
index 0000000..e540537
--- /dev/null
+++ b/tests/commonmark/268-List_items.md
@@ -0,0 +1 @@
+- - foo
\ No newline at end of file
diff --git a/tests/commonmark/269-List_items.html b/tests/commonmark/269-List_items.html
new file mode 100644
index 0000000..9acd4d0
--- /dev/null
+++ b/tests/commonmark/269-List_items.html
@@ -0,0 +1,11 @@
+
+-
+
+-
+
+- foo
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/269-List_items.md b/tests/commonmark/269-List_items.md
new file mode 100644
index 0000000..1671802
--- /dev/null
+++ b/tests/commonmark/269-List_items.md
@@ -0,0 +1 @@
+1. - 2. foo
\ No newline at end of file
diff --git a/tests/commonmark/271-Lists.html b/tests/commonmark/271-Lists.html
index b8ff6a4..cdf9a78 100644
--- a/tests/commonmark/271-Lists.html
+++ b/tests/commonmark/271-Lists.html
@@ -1,4 +1,7 @@
-The number of windows in my house is
-
-- The number of doors is 6.
-
\ No newline at end of file
+
+- foo
+- bar
+
+
+- baz
+
\ No newline at end of file
diff --git a/tests/commonmark/271-Lists.md b/tests/commonmark/271-Lists.md
index 233159f..a868db0 100644
--- a/tests/commonmark/271-Lists.md
+++ b/tests/commonmark/271-Lists.md
@@ -1,2 +1,3 @@
-The number of windows in my house is
-1. The number of doors is 6.
\ No newline at end of file
+- foo
+- bar
++ baz
\ No newline at end of file
diff --git a/tests/commonmark/272-Lists.html b/tests/commonmark/272-Lists.html
index e623251..9e8cebe 100644
--- a/tests/commonmark/272-Lists.html
+++ b/tests/commonmark/272-Lists.html
@@ -1,11 +1,7 @@
-
--
-
foo
-
--
-
bar
-
--
-
baz
-
-
\ No newline at end of file
+
+- foo
+- bar
+
+
+- baz
+
\ No newline at end of file
diff --git a/tests/commonmark/272-Lists.md b/tests/commonmark/272-Lists.md
index c5328dc..1ab919f 100644
--- a/tests/commonmark/272-Lists.md
+++ b/tests/commonmark/272-Lists.md
@@ -1,6 +1,3 @@
-- foo
-
-- bar
-
-
-- baz
\ No newline at end of file
+1. foo
+2. bar
+3) baz
\ No newline at end of file
diff --git a/tests/commonmark/273-Lists.html b/tests/commonmark/273-Lists.html
index 83d3f15..aeb53c6 100644
--- a/tests/commonmark/273-Lists.html
+++ b/tests/commonmark/273-Lists.html
@@ -1,9 +1,5 @@
+Foo
-- foo
- bar
-
-
-
- baz
-- bim
\ No newline at end of file
diff --git a/tests/commonmark/273-Lists.md b/tests/commonmark/273-Lists.md
index fe40c1c..2875544 100644
--- a/tests/commonmark/273-Lists.md
+++ b/tests/commonmark/273-Lists.md
@@ -1,7 +1,3 @@
-- foo
+Foo
- bar
-
-
-
-- baz
-- bim
\ No newline at end of file
+- baz
\ No newline at end of file
diff --git a/tests/commonmark/274-Lists.html b/tests/commonmark/274-Lists.html
index 83d3f15..ea028b4 100644
--- a/tests/commonmark/274-Lists.html
+++ b/tests/commonmark/274-Lists.html
@@ -1,9 +1,2 @@
-
-- foo
-- bar
-
-
-
-- baz
-- bim
-
\ No newline at end of file
+The number of windows in my house is
+14. The number of doors is 6.
\ No newline at end of file
diff --git a/tests/commonmark/274-Lists.md b/tests/commonmark/274-Lists.md
index fe40c1c..2dab844 100644
--- a/tests/commonmark/274-Lists.md
+++ b/tests/commonmark/274-Lists.md
@@ -1,7 +1,2 @@
-- foo
-- bar
-
-
-
-- baz
-- bim
\ No newline at end of file
+The number of windows in my house is
+14. The number of doors is 6.
\ No newline at end of file
diff --git a/tests/commonmark/275-Lists.html b/tests/commonmark/275-Lists.html
index c7c1240..b8ff6a4 100644
--- a/tests/commonmark/275-Lists.html
+++ b/tests/commonmark/275-Lists.html
@@ -1,12 +1,4 @@
-
--
-
foo
-notcode
-
--
-
foo
-
-
-
-code
-
\ No newline at end of file
+The number of windows in my house is
+
+- The number of doors is 6.
+
\ No newline at end of file
diff --git a/tests/commonmark/275-Lists.md b/tests/commonmark/275-Lists.md
index c8dbab0..233159f 100644
--- a/tests/commonmark/275-Lists.md
+++ b/tests/commonmark/275-Lists.md
@@ -1,9 +1,2 @@
-- foo
-
- notcode
-
-- foo
-
-
-
- code
\ No newline at end of file
+The number of windows in my house is
+1. The number of doors is 6.
\ No newline at end of file
diff --git a/tests/commonmark/276-Lists.html b/tests/commonmark/276-Lists.html
index 67b410d..e623251 100644
--- a/tests/commonmark/276-Lists.html
+++ b/tests/commonmark/276-Lists.html
@@ -1,9 +1,11 @@
-- a
-- b
-- c
-- d
-- e
-- f
-- g
+-
+
foo
+
+-
+
bar
+
+-
+
baz
+
\ No newline at end of file
diff --git a/tests/commonmark/276-Lists.md b/tests/commonmark/276-Lists.md
index 50aeb7b..c5328dc 100644
--- a/tests/commonmark/276-Lists.md
+++ b/tests/commonmark/276-Lists.md
@@ -1,7 +1,6 @@
-- a
- - b
- - c
- - d
- - e
- - f
-- g
\ No newline at end of file
+- foo
+
+- bar
+
+
+- baz
\ No newline at end of file
diff --git a/tests/commonmark/278-Lists.html b/tests/commonmark/278-Lists.html
new file mode 100644
index 0000000..83d3f15
--- /dev/null
+++ b/tests/commonmark/278-Lists.html
@@ -0,0 +1,9 @@
+
+- foo
+- bar
+
+
+
+- baz
+- bim
+
\ No newline at end of file
diff --git a/tests/commonmark/278-Lists.md b/tests/commonmark/278-Lists.md
new file mode 100644
index 0000000..fe40c1c
--- /dev/null
+++ b/tests/commonmark/278-Lists.md
@@ -0,0 +1,7 @@
+- foo
+- bar
+
+
+
+- baz
+- bim
\ No newline at end of file
diff --git a/tests/commonmark/279-Lists.html b/tests/commonmark/279-Lists.html
index ba484e7..c7c1240 100644
--- a/tests/commonmark/279-Lists.html
+++ b/tests/commonmark/279-Lists.html
@@ -1,11 +1,12 @@
-
-
a
+foo
+notcode
-
-
b
+foo
--
-
c
-
-
\ No newline at end of file
+
+
+code
+
\ No newline at end of file
diff --git a/tests/commonmark/279-Lists.md b/tests/commonmark/279-Lists.md
index a3440f2..c8dbab0 100644
--- a/tests/commonmark/279-Lists.md
+++ b/tests/commonmark/279-Lists.md
@@ -1,4 +1,9 @@
-- a
-- b
+- foo
-- c
\ No newline at end of file
+ notcode
+
+- foo
+
+
+
+ code
\ No newline at end of file
diff --git a/tests/commonmark/280-Lists.html b/tests/commonmark/280-Lists.html
index ba484e7..67b410d 100644
--- a/tests/commonmark/280-Lists.html
+++ b/tests/commonmark/280-Lists.html
@@ -1,11 +1,9 @@
--
-
a
-
--
-
b
-
--
-
c
-
+- a
+- b
+- c
+- d
+- e
+- f
+- g
\ No newline at end of file
diff --git a/tests/commonmark/280-Lists.md b/tests/commonmark/280-Lists.md
index a3440f2..50aeb7b 100644
--- a/tests/commonmark/280-Lists.md
+++ b/tests/commonmark/280-Lists.md
@@ -1,4 +1,7 @@
- a
-- b
-
-- c
\ No newline at end of file
+ - b
+ - c
+ - d
+ - e
+ - f
+- g
\ No newline at end of file
diff --git a/tests/commonmark/281-Lists.html b/tests/commonmark/281-Lists.html
index 21446a0..d0d28e0 100644
--- a/tests/commonmark/281-Lists.html
+++ b/tests/commonmark/281-Lists.html
@@ -1,9 +1,11 @@
-
+
-
a
-
+-
+
b
+
-
c
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/281-Lists.md b/tests/commonmark/281-Lists.md
index 89e45ed..e6be34b 100644
--- a/tests/commonmark/281-Lists.md
+++ b/tests/commonmark/281-Lists.md
@@ -1,4 +1,5 @@
-* a
-*
+1. a
-* c
\ No newline at end of file
+ 2. b
+
+ 3. c
\ No newline at end of file
diff --git a/tests/commonmark/284-Lists.html b/tests/commonmark/284-Lists.html
new file mode 100644
index 0000000..ba484e7
--- /dev/null
+++ b/tests/commonmark/284-Lists.html
@@ -0,0 +1,11 @@
+
+-
+
a
+
+-
+
b
+
+-
+
c
+
+
\ No newline at end of file
diff --git a/tests/commonmark/284-Lists.md b/tests/commonmark/284-Lists.md
new file mode 100644
index 0000000..a3440f2
--- /dev/null
+++ b/tests/commonmark/284-Lists.md
@@ -0,0 +1,4 @@
+- a
+- b
+
+- c
\ No newline at end of file
diff --git a/tests/commonmark/285-Lists.html b/tests/commonmark/285-Lists.html
index aaaef2f..21446a0 100644
--- a/tests/commonmark/285-Lists.html
+++ b/tests/commonmark/285-Lists.html
@@ -1,8 +1,9 @@
-- a
-
-b
-
+ -
+
a
+
+
+-
+
c
-- c
\ No newline at end of file
diff --git a/tests/commonmark/285-Lists.md b/tests/commonmark/285-Lists.md
index de32028..89e45ed 100644
--- a/tests/commonmark/285-Lists.md
+++ b/tests/commonmark/285-Lists.md
@@ -1,4 +1,4 @@
* a
- > b
- >
+*
+
* c
\ No newline at end of file
diff --git a/tests/commonmark/286-Lists.html b/tests/commonmark/286-Lists.html
index aaaef2f..c1a6e10 100644
--- a/tests/commonmark/286-Lists.html
+++ b/tests/commonmark/286-Lists.html
@@ -1,8 +1,12 @@
-- a
-
-b
-
+ -
+
a
+
+-
+
b
+c
+
+-
+
d
-- c
\ No newline at end of file
diff --git a/tests/commonmark/286-Lists.md b/tests/commonmark/286-Lists.md
index de32028..a22d4a8 100644
--- a/tests/commonmark/286-Lists.md
+++ b/tests/commonmark/286-Lists.md
@@ -1,4 +1,5 @@
-* a
- > b
- >
-* c
\ No newline at end of file
+- a
+- b
+
+ c
+- d
\ No newline at end of file
diff --git a/tests/commonmark/290-Lists.html b/tests/commonmark/290-Lists.html
index fc831d4..aaaef2f 100644
--- a/tests/commonmark/290-Lists.html
+++ b/tests/commonmark/290-Lists.html
@@ -1,7 +1,8 @@
-
--
-
foo
-
-bar
+
+- a
+
+b
+
-
\ No newline at end of file
+c
+
\ No newline at end of file
diff --git a/tests/commonmark/290-Lists.md b/tests/commonmark/290-Lists.md
index a04fff8..de32028 100644
--- a/tests/commonmark/290-Lists.md
+++ b/tests/commonmark/290-Lists.md
@@ -1,5 +1,4 @@
-1. ```
- foo
- ```
-
- bar
\ No newline at end of file
+* a
+ > b
+ >
+* c
\ No newline at end of file
diff --git a/tests/commonmark/292-Lists.html b/tests/commonmark/292-Lists.html
index 23df536..08f6fe8 100644
--- a/tests/commonmark/292-Lists.html
+++ b/tests/commonmark/292-Lists.html
@@ -1,16 +1,3 @@
--
-
a
-
-- b
-- c
-
-
--
-
d
-
-- e
-- f
-
-
+- a
\ No newline at end of file
diff --git a/tests/commonmark/292-Lists.md b/tests/commonmark/292-Lists.md
index 1051b13..cb275b1 100644
--- a/tests/commonmark/292-Lists.md
+++ b/tests/commonmark/292-Lists.md
@@ -1,7 +1 @@
-- a
- - b
- - c
-
-- d
- - e
- - f
\ No newline at end of file
+- a
\ No newline at end of file
diff --git a/tests/commonmark/293-Lists.html b/tests/commonmark/293-Lists.html
new file mode 100644
index 0000000..bb3b4a8
--- /dev/null
+++ b/tests/commonmark/293-Lists.html
@@ -0,0 +1,7 @@
+
+- a
+
+- b
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/293-Lists.md b/tests/commonmark/293-Lists.md
new file mode 100644
index 0000000..aacd716
--- /dev/null
+++ b/tests/commonmark/293-Lists.md
@@ -0,0 +1,2 @@
+- a
+ - b
\ No newline at end of file
diff --git a/tests/commonmark/294-Lists.html b/tests/commonmark/294-Lists.html
new file mode 100644
index 0000000..fc831d4
--- /dev/null
+++ b/tests/commonmark/294-Lists.html
@@ -0,0 +1,7 @@
+
+-
+
foo
+
+bar
+
+
\ No newline at end of file
diff --git a/tests/commonmark/294-Lists.md b/tests/commonmark/294-Lists.md
new file mode 100644
index 0000000..a04fff8
--- /dev/null
+++ b/tests/commonmark/294-Lists.md
@@ -0,0 +1,5 @@
+1. ```
+ foo
+ ```
+
+ bar
\ No newline at end of file
diff --git a/tests/commonmark/295-Lists.html b/tests/commonmark/295-Lists.html
new file mode 100644
index 0000000..d970bee
--- /dev/null
+++ b/tests/commonmark/295-Lists.html
@@ -0,0 +1,9 @@
+
+-
+
foo
+
+- bar
+
+baz
+
+
\ No newline at end of file
diff --git a/tests/commonmark/295-Lists.md b/tests/commonmark/295-Lists.md
new file mode 100644
index 0000000..eca6188
--- /dev/null
+++ b/tests/commonmark/295-Lists.md
@@ -0,0 +1,4 @@
+* foo
+ * bar
+
+ baz
\ No newline at end of file
diff --git a/tests/commonmark/296-Lists.html b/tests/commonmark/296-Lists.html
new file mode 100644
index 0000000..23df536
--- /dev/null
+++ b/tests/commonmark/296-Lists.html
@@ -0,0 +1,16 @@
+
+-
+
a
+
+- b
+- c
+
+
+-
+
d
+
+- e
+- f
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/296-Lists.md b/tests/commonmark/296-Lists.md
new file mode 100644
index 0000000..1051b13
--- /dev/null
+++ b/tests/commonmark/296-Lists.md
@@ -0,0 +1,7 @@
+- a
+ - b
+ - c
+
+- d
+ - e
+ - f
\ No newline at end of file
diff --git a/tests/commonmark/297-Inlines.html b/tests/commonmark/297-Inlines.html
new file mode 100644
index 0000000..9e1b083
--- /dev/null
+++ b/tests/commonmark/297-Inlines.html
@@ -0,0 +1 @@
+hi
lo`
\ No newline at end of file
diff --git a/tests/commonmark/297-Inlines.md b/tests/commonmark/297-Inlines.md
new file mode 100644
index 0000000..8c89e0a
--- /dev/null
+++ b/tests/commonmark/297-Inlines.md
@@ -0,0 +1 @@
+`hi`lo`
\ No newline at end of file
diff --git a/tests/commonmark/298-Backslash_escapes.html b/tests/commonmark/298-Backslash_escapes.html
index 90d6646..dfcae58 100644
--- a/tests/commonmark/298-Backslash_escapes.html
+++ b/tests/commonmark/298-Backslash_escapes.html
@@ -1,2 +1 @@
-foo
-bar
\ No newline at end of file
+!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
\ No newline at end of file
diff --git a/tests/commonmark/298-Backslash_escapes.md b/tests/commonmark/298-Backslash_escapes.md
index 837642d..2048516 100644
--- a/tests/commonmark/298-Backslash_escapes.md
+++ b/tests/commonmark/298-Backslash_escapes.md
@@ -1,2 +1 @@
-foo\
-bar
\ No newline at end of file
+\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~
\ No newline at end of file
diff --git a/tests/commonmark/299-Backslash_escapes.html b/tests/commonmark/299-Backslash_escapes.html
index 4eda9f5..c12ed56 100644
--- a/tests/commonmark/299-Backslash_escapes.html
+++ b/tests/commonmark/299-Backslash_escapes.html
@@ -1 +1 @@
-\[\`
\ No newline at end of file
+\ \A\a\ \3\φ\«
\ No newline at end of file
diff --git a/tests/commonmark/299-Backslash_escapes.md b/tests/commonmark/299-Backslash_escapes.md
index 6cfe3d9..67880fa 100644
--- a/tests/commonmark/299-Backslash_escapes.md
+++ b/tests/commonmark/299-Backslash_escapes.md
@@ -1 +1 @@
-`` \[\` ``
\ No newline at end of file
+\ \A\a\ \3\φ\«
\ No newline at end of file
diff --git a/tests/commonmark/301-Backslash_escapes.html b/tests/commonmark/301-Backslash_escapes.html
index 95d2c91..d8671e6 100644
--- a/tests/commonmark/301-Backslash_escapes.html
+++ b/tests/commonmark/301-Backslash_escapes.html
@@ -1,2 +1 @@
-\[\]
-
\ No newline at end of file
+\emphasis
\ No newline at end of file
diff --git a/tests/commonmark/301-Backslash_escapes.md b/tests/commonmark/301-Backslash_escapes.md
index 3d80f66..e4853df 100644
--- a/tests/commonmark/301-Backslash_escapes.md
+++ b/tests/commonmark/301-Backslash_escapes.md
@@ -1,3 +1 @@
-~~~
-\[\]
-~~~
\ No newline at end of file
+\\*emphasis*
\ No newline at end of file
diff --git a/tests/commonmark/302-Backslash_escapes.html b/tests/commonmark/302-Backslash_escapes.html
new file mode 100644
index 0000000..90d6646
--- /dev/null
+++ b/tests/commonmark/302-Backslash_escapes.html
@@ -0,0 +1,2 @@
+foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/302-Backslash_escapes.md b/tests/commonmark/302-Backslash_escapes.md
new file mode 100644
index 0000000..837642d
--- /dev/null
+++ b/tests/commonmark/302-Backslash_escapes.md
@@ -0,0 +1,2 @@
+foo\
+bar
\ No newline at end of file
diff --git a/tests/commonmark/303-Backslash_escapes.html b/tests/commonmark/303-Backslash_escapes.html
new file mode 100644
index 0000000..4eda9f5
--- /dev/null
+++ b/tests/commonmark/303-Backslash_escapes.html
@@ -0,0 +1 @@
+\[\`
\ No newline at end of file
diff --git a/tests/commonmark/303-Backslash_escapes.md b/tests/commonmark/303-Backslash_escapes.md
new file mode 100644
index 0000000..6cfe3d9
--- /dev/null
+++ b/tests/commonmark/303-Backslash_escapes.md
@@ -0,0 +1 @@
+`` \[\` ``
\ No newline at end of file
diff --git a/tests/commonmark/304-Backslash_escapes.html b/tests/commonmark/304-Backslash_escapes.html
new file mode 100644
index 0000000..95d2c91
--- /dev/null
+++ b/tests/commonmark/304-Backslash_escapes.html
@@ -0,0 +1,2 @@
+\[\]
+
\ No newline at end of file
diff --git a/tests/commonmark/304-Backslash_escapes.md b/tests/commonmark/304-Backslash_escapes.md
new file mode 100644
index 0000000..f8c906b
--- /dev/null
+++ b/tests/commonmark/304-Backslash_escapes.md
@@ -0,0 +1 @@
+ \[\]
\ No newline at end of file
diff --git a/tests/commonmark/305-Backslash_escapes.html b/tests/commonmark/305-Backslash_escapes.html
new file mode 100644
index 0000000..95d2c91
--- /dev/null
+++ b/tests/commonmark/305-Backslash_escapes.html
@@ -0,0 +1,2 @@
+\[\]
+
\ No newline at end of file
diff --git a/tests/commonmark/305-Backslash_escapes.md b/tests/commonmark/305-Backslash_escapes.md
new file mode 100644
index 0000000..3d80f66
--- /dev/null
+++ b/tests/commonmark/305-Backslash_escapes.md
@@ -0,0 +1,3 @@
+~~~
+\[\]
+~~~
\ No newline at end of file
diff --git a/tests/commonmark/315-Entity_and_numeric_character_references.html b/tests/commonmark/315-Entity_and_numeric_character_references.html
new file mode 100644
index 0000000..21a82d0
--- /dev/null
+++ b/tests/commonmark/315-Entity_and_numeric_character_references.html
@@ -0,0 +1 @@
+©
\ No newline at end of file
diff --git a/tests/commonmark/315-Entity_and_numeric_character_references.md b/tests/commonmark/315-Entity_and_numeric_character_references.md
new file mode 100644
index 0000000..9084749
--- /dev/null
+++ b/tests/commonmark/315-Entity_and_numeric_character_references.md
@@ -0,0 +1 @@
+©
\ No newline at end of file
diff --git a/tests/commonmark/321-Entity_and_numeric_character_references.html b/tests/commonmark/321-Entity_and_numeric_character_references.html
new file mode 100644
index 0000000..c23643f
--- /dev/null
+++ b/tests/commonmark/321-Entity_and_numeric_character_references.html
@@ -0,0 +1 @@
+föö
\ No newline at end of file
diff --git a/tests/commonmark/321-Entity_and_numeric_character_references.md b/tests/commonmark/321-Entity_and_numeric_character_references.md
new file mode 100644
index 0000000..13fcec7
--- /dev/null
+++ b/tests/commonmark/321-Entity_and_numeric_character_references.md
@@ -0,0 +1 @@
+`föö`
\ No newline at end of file
diff --git a/tests/commonmark/322-Entity_and_numeric_character_references.html b/tests/commonmark/322-Entity_and_numeric_character_references.html
new file mode 100644
index 0000000..d279d07
--- /dev/null
+++ b/tests/commonmark/322-Entity_and_numeric_character_references.html
@@ -0,0 +1,2 @@
+föfö
+
\ No newline at end of file
diff --git a/tests/commonmark/322-Entity_and_numeric_character_references.md b/tests/commonmark/322-Entity_and_numeric_character_references.md
new file mode 100644
index 0000000..5cb6816
--- /dev/null
+++ b/tests/commonmark/322-Entity_and_numeric_character_references.md
@@ -0,0 +1 @@
+ föfö
\ No newline at end of file
diff --git a/tests/commonmark/327-Entity_and_numeric_character_references.html b/tests/commonmark/327-Entity_and_numeric_character_references.html
new file mode 100644
index 0000000..cea60c9
--- /dev/null
+++ b/tests/commonmark/327-Entity_and_numeric_character_references.html
@@ -0,0 +1 @@
+[a](url "tit")
\ No newline at end of file
diff --git a/tests/commonmark/327-Entity_and_numeric_character_references.md b/tests/commonmark/327-Entity_and_numeric_character_references.md
new file mode 100644
index 0000000..24a1624
--- /dev/null
+++ b/tests/commonmark/327-Entity_and_numeric_character_references.md
@@ -0,0 +1 @@
+[a](url "tit")
\ No newline at end of file
diff --git a/tests/commonmark/328-Code_spans.html b/tests/commonmark/328-Code_spans.html
index c1ca23a..4a52275 100644
--- a/tests/commonmark/328-Code_spans.html
+++ b/tests/commonmark/328-Code_spans.html
@@ -1 +1 @@
- a
\ No newline at end of file
+foo
\ No newline at end of file
diff --git a/tests/commonmark/328-Code_spans.md b/tests/commonmark/328-Code_spans.md
index 69affc3..41ebe5b 100644
--- a/tests/commonmark/328-Code_spans.md
+++ b/tests/commonmark/328-Code_spans.md
@@ -1 +1 @@
-` a`
\ No newline at end of file
+`foo`
\ No newline at end of file
diff --git a/tests/commonmark/329-Code_spans.html b/tests/commonmark/329-Code_spans.html
index 2986f15..7de3a54 100644
--- a/tests/commonmark/329-Code_spans.html
+++ b/tests/commonmark/329-Code_spans.html
@@ -1 +1 @@
- b
\ No newline at end of file
+foo ` bar
\ No newline at end of file
diff --git a/tests/commonmark/329-Code_spans.md b/tests/commonmark/329-Code_spans.md
index 16587f9..e59818a 100644
--- a/tests/commonmark/329-Code_spans.md
+++ b/tests/commonmark/329-Code_spans.md
@@ -1 +1 @@
-` b `
\ No newline at end of file
+`` foo ` bar ``
\ No newline at end of file
diff --git a/tests/commonmark/330-Code_spans.html b/tests/commonmark/330-Code_spans.html
new file mode 100644
index 0000000..c0d6552
--- /dev/null
+++ b/tests/commonmark/330-Code_spans.html
@@ -0,0 +1 @@
+``
\ No newline at end of file
diff --git a/tests/commonmark/330-Code_spans.md b/tests/commonmark/330-Code_spans.md
new file mode 100644
index 0000000..0a17ea7
--- /dev/null
+++ b/tests/commonmark/330-Code_spans.md
@@ -0,0 +1 @@
+` `` `
\ No newline at end of file
diff --git a/tests/commonmark/331-Code_spans.html b/tests/commonmark/331-Code_spans.html
index 5e7a223..0d49c6d 100644
--- a/tests/commonmark/331-Code_spans.html
+++ b/tests/commonmark/331-Code_spans.html
@@ -1 +1 @@
-foo bar baz
\ No newline at end of file
+ ``
\ No newline at end of file
diff --git a/tests/commonmark/331-Code_spans.md b/tests/commonmark/331-Code_spans.md
index aaabc22..0f49853 100644
--- a/tests/commonmark/331-Code_spans.md
+++ b/tests/commonmark/331-Code_spans.md
@@ -1,5 +1 @@
-``
-foo
-bar
-baz
-``
\ No newline at end of file
+` `` `
\ No newline at end of file
diff --git a/tests/commonmark/332-Code_spans.html b/tests/commonmark/332-Code_spans.html
index b6e1aa3..c1ca23a 100644
--- a/tests/commonmark/332-Code_spans.html
+++ b/tests/commonmark/332-Code_spans.html
@@ -1 +1 @@
-foo
\ No newline at end of file
+ a
\ No newline at end of file
diff --git a/tests/commonmark/332-Code_spans.md b/tests/commonmark/332-Code_spans.md
index 365e5a2..69affc3 100644
--- a/tests/commonmark/332-Code_spans.md
+++ b/tests/commonmark/332-Code_spans.md
@@ -1,3 +1 @@
-``
-foo
-``
\ No newline at end of file
+` a`
\ No newline at end of file
diff --git a/tests/commonmark/333-Code_spans.html b/tests/commonmark/333-Code_spans.html
index 54a737b..2986f15 100644
--- a/tests/commonmark/333-Code_spans.html
+++ b/tests/commonmark/333-Code_spans.html
@@ -1 +1 @@
-foo bar baz
\ No newline at end of file
+ b
\ No newline at end of file
diff --git a/tests/commonmark/333-Code_spans.md b/tests/commonmark/333-Code_spans.md
index 86cb9f0..16587f9 100644
--- a/tests/commonmark/333-Code_spans.md
+++ b/tests/commonmark/333-Code_spans.md
@@ -1,2 +1 @@
-`foo bar
-baz`
\ No newline at end of file
+` b `
\ No newline at end of file
diff --git a/tests/commonmark/335-Code_spans.html b/tests/commonmark/335-Code_spans.html
index dfa2fc0..5e7a223 100644
--- a/tests/commonmark/335-Code_spans.html
+++ b/tests/commonmark/335-Code_spans.html
@@ -1 +1 @@
-foo`bar
\ No newline at end of file
+foo bar baz
\ No newline at end of file
diff --git a/tests/commonmark/335-Code_spans.md b/tests/commonmark/335-Code_spans.md
index 659f107..aaabc22 100644
--- a/tests/commonmark/335-Code_spans.md
+++ b/tests/commonmark/335-Code_spans.md
@@ -1 +1,5 @@
-``foo`bar``
\ No newline at end of file
+``
+foo
+bar
+baz
+``
\ No newline at end of file
diff --git a/tests/commonmark/336-Code_spans.html b/tests/commonmark/336-Code_spans.html
index 80165d5..b6e1aa3 100644
--- a/tests/commonmark/336-Code_spans.html
+++ b/tests/commonmark/336-Code_spans.html
@@ -1 +1 @@
-foo `` bar
\ No newline at end of file
+foo
\ No newline at end of file
diff --git a/tests/commonmark/336-Code_spans.md b/tests/commonmark/336-Code_spans.md
index 62b49d3..365e5a2 100644
--- a/tests/commonmark/336-Code_spans.md
+++ b/tests/commonmark/336-Code_spans.md
@@ -1 +1,3 @@
-` foo `` bar `
\ No newline at end of file
+``
+foo
+``
\ No newline at end of file
diff --git a/tests/commonmark/337-Code_spans.html b/tests/commonmark/337-Code_spans.html
index a291b61..54a737b 100644
--- a/tests/commonmark/337-Code_spans.html
+++ b/tests/commonmark/337-Code_spans.html
@@ -1 +1 @@
-`foo
\ No newline at end of file
+foo bar baz
\ No newline at end of file
diff --git a/tests/commonmark/337-Code_spans.md b/tests/commonmark/337-Code_spans.md
index 8814874..86cb9f0 100644
--- a/tests/commonmark/337-Code_spans.md
+++ b/tests/commonmark/337-Code_spans.md
@@ -1 +1,2 @@
-`foo
\ No newline at end of file
+`foo bar
+baz`
\ No newline at end of file
diff --git a/tests/commonmark/338-Code_spans.html b/tests/commonmark/338-Code_spans.html
index 9f7f997..ee95030 100644
--- a/tests/commonmark/338-Code_spans.html
+++ b/tests/commonmark/338-Code_spans.html
@@ -1 +1 @@
-`foobar
\ No newline at end of file
+foo\
bar`
\ No newline at end of file
diff --git a/tests/commonmark/338-Code_spans.md b/tests/commonmark/338-Code_spans.md
index fa34311..71ad028 100644
--- a/tests/commonmark/338-Code_spans.md
+++ b/tests/commonmark/338-Code_spans.md
@@ -1 +1 @@
-`foo``bar``
\ No newline at end of file
+`foo\`bar`
\ No newline at end of file
diff --git a/tests/commonmark/339-Code_spans.html b/tests/commonmark/339-Code_spans.html
index 0655857..dfa2fc0 100644
--- a/tests/commonmark/339-Code_spans.html
+++ b/tests/commonmark/339-Code_spans.html
@@ -1 +1 @@
-<a href="
">`
\ No newline at end of file
+foo`bar
\ No newline at end of file
diff --git a/tests/commonmark/339-Code_spans.md b/tests/commonmark/339-Code_spans.md
index de67a91..659f107 100644
--- a/tests/commonmark/339-Code_spans.md
+++ b/tests/commonmark/339-Code_spans.md
@@ -1 +1 @@
-``
\ No newline at end of file
+``foo`bar``
\ No newline at end of file
diff --git a/tests/commonmark/340-Code_spans.html b/tests/commonmark/340-Code_spans.html
index beba53a..80165d5 100644
--- a/tests/commonmark/340-Code_spans.html
+++ b/tests/commonmark/340-Code_spans.html
@@ -1 +1 @@
-
\ No newline at end of file
+foo `` bar
\ No newline at end of file
diff --git a/tests/commonmark/340-Code_spans.md b/tests/commonmark/340-Code_spans.md
index fb793aa..62b49d3 100644
--- a/tests/commonmark/340-Code_spans.md
+++ b/tests/commonmark/340-Code_spans.md
@@ -1 +1 @@
-`
\ No newline at end of file
+` foo `` bar `
\ No newline at end of file
diff --git a/tests/commonmark/343-Code_spans.html b/tests/commonmark/343-Code_spans.html
new file mode 100644
index 0000000..0655857
--- /dev/null
+++ b/tests/commonmark/343-Code_spans.html
@@ -0,0 +1 @@
+<a href="
">`
\ No newline at end of file
diff --git a/tests/commonmark/343-Code_spans.md b/tests/commonmark/343-Code_spans.md
new file mode 100644
index 0000000..de67a91
--- /dev/null
+++ b/tests/commonmark/343-Code_spans.md
@@ -0,0 +1 @@
+``
\ No newline at end of file
diff --git a/tests/commonmark/344-Code_spans.html b/tests/commonmark/344-Code_spans.html
index a291b61..beba53a 100644
--- a/tests/commonmark/344-Code_spans.html
+++ b/tests/commonmark/344-Code_spans.html
@@ -1 +1 @@
-`foo
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/344-Code_spans.md b/tests/commonmark/344-Code_spans.md
index 8814874..fb793aa 100644
--- a/tests/commonmark/344-Code_spans.md
+++ b/tests/commonmark/344-Code_spans.md
@@ -1 +1 @@
-`foo
\ No newline at end of file
+`
\ No newline at end of file
diff --git a/tests/commonmark/345-Code_spans.html b/tests/commonmark/345-Code_spans.html
index 9f7f997..56d6c79 100644
--- a/tests/commonmark/345-Code_spans.html
+++ b/tests/commonmark/345-Code_spans.html
@@ -1 +1 @@
-`foobar
\ No newline at end of file
+<http://foo.bar.
baz>`
\ No newline at end of file
diff --git a/tests/commonmark/345-Code_spans.md b/tests/commonmark/345-Code_spans.md
index fa34311..8f1db09 100644
--- a/tests/commonmark/345-Code_spans.md
+++ b/tests/commonmark/345-Code_spans.md
@@ -1 +1 @@
-`foo``bar``
\ No newline at end of file
+``
\ No newline at end of file
diff --git a/tests/commonmark/348-Code_spans.html b/tests/commonmark/348-Code_spans.html
new file mode 100644
index 0000000..a291b61
--- /dev/null
+++ b/tests/commonmark/348-Code_spans.html
@@ -0,0 +1 @@
+`foo
\ No newline at end of file
diff --git a/tests/commonmark/348-Code_spans.md b/tests/commonmark/348-Code_spans.md
new file mode 100644
index 0000000..8814874
--- /dev/null
+++ b/tests/commonmark/348-Code_spans.md
@@ -0,0 +1 @@
+`foo
\ No newline at end of file
diff --git a/tests/commonmark/349-Code_spans.html b/tests/commonmark/349-Code_spans.html
new file mode 100644
index 0000000..9f7f997
--- /dev/null
+++ b/tests/commonmark/349-Code_spans.html
@@ -0,0 +1 @@
+`foobar
\ No newline at end of file
diff --git a/tests/commonmark/349-Code_spans.md b/tests/commonmark/349-Code_spans.md
new file mode 100644
index 0000000..fa34311
--- /dev/null
+++ b/tests/commonmark/349-Code_spans.md
@@ -0,0 +1 @@
+`foo``bar``
\ No newline at end of file
diff --git a/tests/commonmark/350-Emphasis_and_strong_emphasis.html b/tests/commonmark/350-Emphasis_and_strong_emphasis.html
index 82abf74..2742cdd 100644
--- a/tests/commonmark/350-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/350-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foobar
\ No newline at end of file
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/350-Emphasis_and_strong_emphasis.md b/tests/commonmark/350-Emphasis_and_strong_emphasis.md
index fbef473..5945e35 100644
--- a/tests/commonmark/350-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/350-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo*bar*
\ No newline at end of file
+*foo bar*
\ No newline at end of file
diff --git a/tests/commonmark/354-Emphasis_and_strong_emphasis.html b/tests/commonmark/354-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..82abf74
--- /dev/null
+++ b/tests/commonmark/354-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+foobar
\ No newline at end of file
diff --git a/tests/commonmark/354-Emphasis_and_strong_emphasis.md b/tests/commonmark/354-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..fbef473
--- /dev/null
+++ b/tests/commonmark/354-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+foo*bar*
\ No newline at end of file
diff --git a/tests/commonmark/355-Emphasis_and_strong_emphasis.html b/tests/commonmark/355-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..618306a
--- /dev/null
+++ b/tests/commonmark/355-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+5678
\ No newline at end of file
diff --git a/tests/commonmark/355-Emphasis_and_strong_emphasis.md b/tests/commonmark/355-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..552d76a
--- /dev/null
+++ b/tests/commonmark/355-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+5*6*78
\ No newline at end of file
diff --git a/tests/commonmark/356-Emphasis_and_strong_emphasis.html b/tests/commonmark/356-Emphasis_and_strong_emphasis.html
index 674137d..2742cdd 100644
--- a/tests/commonmark/356-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/356-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-5_6_78
\ No newline at end of file
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/356-Emphasis_and_strong_emphasis.md b/tests/commonmark/356-Emphasis_and_strong_emphasis.md
index 53fbae2..0c87e70 100644
--- a/tests/commonmark/356-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/356-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-5_6_78
\ No newline at end of file
+_foo bar_
\ No newline at end of file
diff --git a/tests/commonmark/360-Emphasis_and_strong_emphasis.html b/tests/commonmark/360-Emphasis_and_strong_emphasis.html
index a1feba0..674137d 100644
--- a/tests/commonmark/360-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/360-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-_foo*
\ No newline at end of file
+5_6_78
\ No newline at end of file
diff --git a/tests/commonmark/360-Emphasis_and_strong_emphasis.md b/tests/commonmark/360-Emphasis_and_strong_emphasis.md
index 824f8b3..53fbae2 100644
--- a/tests/commonmark/360-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/360-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-_foo*
\ No newline at end of file
+5_6_78
\ No newline at end of file
diff --git a/tests/commonmark/362-Emphasis_and_strong_emphasis.html b/tests/commonmark/362-Emphasis_and_strong_emphasis.html
index 2c8ed96..b479d4b 100644
--- a/tests/commonmark/362-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/362-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-_foo_bar
\ No newline at end of file
+aa_"bb"_cc
\ No newline at end of file
diff --git a/tests/commonmark/362-Emphasis_and_strong_emphasis.md b/tests/commonmark/362-Emphasis_and_strong_emphasis.md
index 9a0199d..6fad734 100644
--- a/tests/commonmark/362-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/362-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-_foo_bar
\ No newline at end of file
+aa_"bb"_cc
\ No newline at end of file
diff --git a/tests/commonmark/363-Emphasis_and_strong_emphasis.html b/tests/commonmark/363-Emphasis_and_strong_emphasis.html
index 2bb54e1..897d6a0 100644
--- a/tests/commonmark/363-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/363-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-_пристаням_стремятся
\ No newline at end of file
+foo-(bar)
\ No newline at end of file
diff --git a/tests/commonmark/363-Emphasis_and_strong_emphasis.md b/tests/commonmark/363-Emphasis_and_strong_emphasis.md
index d9a73a2..d0c1cb7 100644
--- a/tests/commonmark/363-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/363-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-_пристаням_стремятся
\ No newline at end of file
+foo-_(bar)_
\ No newline at end of file
diff --git a/tests/commonmark/364-Emphasis_and_strong_emphasis.html b/tests/commonmark/364-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..a1feba0
--- /dev/null
+++ b/tests/commonmark/364-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+_foo*
\ No newline at end of file
diff --git a/tests/commonmark/364-Emphasis_and_strong_emphasis.md b/tests/commonmark/364-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..824f8b3
--- /dev/null
+++ b/tests/commonmark/364-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+_foo*
\ No newline at end of file
diff --git a/tests/commonmark/369-Emphasis_and_strong_emphasis.html b/tests/commonmark/369-Emphasis_and_strong_emphasis.html
index 2c8ed96..509ce6a 100644
--- a/tests/commonmark/369-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/369-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-_foo_bar
\ No newline at end of file
+foobar
\ No newline at end of file
diff --git a/tests/commonmark/369-Emphasis_and_strong_emphasis.md b/tests/commonmark/369-Emphasis_and_strong_emphasis.md
index 9a0199d..ec6f7b6 100644
--- a/tests/commonmark/369-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/369-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-_foo_bar
\ No newline at end of file
+*foo*bar
\ No newline at end of file
diff --git a/tests/commonmark/371-Emphasis_and_strong_emphasis.html b/tests/commonmark/371-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..de6be2d
--- /dev/null
+++ b/tests/commonmark/371-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+_(_foo)
\ No newline at end of file
diff --git a/tests/commonmark/371-Emphasis_and_strong_emphasis.md b/tests/commonmark/371-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..e6655be
--- /dev/null
+++ b/tests/commonmark/371-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+_(_foo)
\ No newline at end of file
diff --git a/tests/commonmark/373-Emphasis_and_strong_emphasis.html b/tests/commonmark/373-Emphasis_and_strong_emphasis.html
index 88ad35a..2c8ed96 100644
--- a/tests/commonmark/373-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/373-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo bar
\ No newline at end of file
+_foo_bar
\ No newline at end of file
diff --git a/tests/commonmark/373-Emphasis_and_strong_emphasis.md b/tests/commonmark/373-Emphasis_and_strong_emphasis.md
index 739a274..9a0199d 100644
--- a/tests/commonmark/373-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/373-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-**foo bar**
\ No newline at end of file
+_foo_bar
\ No newline at end of file
diff --git a/tests/commonmark/374-Emphasis_and_strong_emphasis.html b/tests/commonmark/374-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..2bb54e1
--- /dev/null
+++ b/tests/commonmark/374-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+_пристаням_стремятся
\ No newline at end of file
diff --git a/tests/commonmark/374-Emphasis_and_strong_emphasis.md b/tests/commonmark/374-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..d9a73a2
--- /dev/null
+++ b/tests/commonmark/374-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+_пристаням_стремятся
\ No newline at end of file
diff --git a/tests/commonmark/376-Emphasis_and_strong_emphasis.html b/tests/commonmark/376-Emphasis_and_strong_emphasis.html
index 718c7dc..6405255 100644
--- a/tests/commonmark/376-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/376-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foobar
\ No newline at end of file
+(bar).
\ No newline at end of file
diff --git a/tests/commonmark/376-Emphasis_and_strong_emphasis.md b/tests/commonmark/376-Emphasis_and_strong_emphasis.md
index a84b8a3..83b5001 100644
--- a/tests/commonmark/376-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/376-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo**bar**
\ No newline at end of file
+_(bar)_.
\ No newline at end of file
diff --git a/tests/commonmark/377-Emphasis_and_strong_emphasis.md b/tests/commonmark/377-Emphasis_and_strong_emphasis.md
index caf90ff..739a274 100644
--- a/tests/commonmark/377-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/377-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-__foo bar__
\ No newline at end of file
+**foo bar**
\ No newline at end of file
diff --git a/tests/commonmark/380-Emphasis_and_strong_emphasis.html b/tests/commonmark/380-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..718c7dc
--- /dev/null
+++ b/tests/commonmark/380-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+foobar
\ No newline at end of file
diff --git a/tests/commonmark/380-Emphasis_and_strong_emphasis.md b/tests/commonmark/380-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..a84b8a3
--- /dev/null
+++ b/tests/commonmark/380-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+foo**bar**
\ No newline at end of file
diff --git a/tests/commonmark/381-Emphasis_and_strong_emphasis.html b/tests/commonmark/381-Emphasis_and_strong_emphasis.html
index 303a42a..88ad35a 100644
--- a/tests/commonmark/381-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/381-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-(foo)
\ No newline at end of file
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/381-Emphasis_and_strong_emphasis.md b/tests/commonmark/381-Emphasis_and_strong_emphasis.md
index f256d4c..caf90ff 100644
--- a/tests/commonmark/381-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/381-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-*(**foo**)*
\ No newline at end of file
+__foo bar__
\ No newline at end of file
diff --git a/tests/commonmark/389-Emphasis_and_strong_emphasis.html b/tests/commonmark/389-Emphasis_and_strong_emphasis.html
index dba279e..caff373 100644
--- a/tests/commonmark/389-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/389-Emphasis_and_strong_emphasis.html
@@ -1,2 +1 @@
-Gomphocarpus (Gomphocarpus physocarpus, syn.
-Asclepias physocarpa)
\ No newline at end of file
+foo-(bar)
\ No newline at end of file
diff --git a/tests/commonmark/389-Emphasis_and_strong_emphasis.md b/tests/commonmark/389-Emphasis_and_strong_emphasis.md
index c529ae7..6ac11ad 100644
--- a/tests/commonmark/389-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/389-Emphasis_and_strong_emphasis.md
@@ -1,2 +1 @@
-**Gomphocarpus (*Gomphocarpus physocarpus*, syn.
-*Asclepias physocarpa*)**
\ No newline at end of file
+foo-__(bar)__
\ No newline at end of file
diff --git a/tests/commonmark/392-Emphasis_and_strong_emphasis.html b/tests/commonmark/392-Emphasis_and_strong_emphasis.html
index 1ff010c..303a42a 100644
--- a/tests/commonmark/392-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/392-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo bar
\ No newline at end of file
+(foo)
\ No newline at end of file
diff --git a/tests/commonmark/392-Emphasis_and_strong_emphasis.md b/tests/commonmark/392-Emphasis_and_strong_emphasis.md
index c21bf16..f256d4c 100644
--- a/tests/commonmark/392-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/392-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-*foo [bar](/url)*
\ No newline at end of file
+*(**foo**)*
\ No newline at end of file
diff --git a/tests/commonmark/393-Emphasis_and_strong_emphasis.html b/tests/commonmark/393-Emphasis_and_strong_emphasis.html
index 7689ec0..dba279e 100644
--- a/tests/commonmark/393-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/393-Emphasis_and_strong_emphasis.html
@@ -1,2 +1,2 @@
-foo
-bar
\ No newline at end of file
+Gomphocarpus (Gomphocarpus physocarpus, syn.
+Asclepias physocarpa)
\ No newline at end of file
diff --git a/tests/commonmark/393-Emphasis_and_strong_emphasis.md b/tests/commonmark/393-Emphasis_and_strong_emphasis.md
index b022a72..c529ae7 100644
--- a/tests/commonmark/393-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/393-Emphasis_and_strong_emphasis.md
@@ -1,2 +1,2 @@
-*foo
-bar*
\ No newline at end of file
+**Gomphocarpus (*Gomphocarpus physocarpus*, syn.
+*Asclepias physocarpa*)**
\ No newline at end of file
diff --git a/tests/commonmark/394-Emphasis_and_strong_emphasis.html b/tests/commonmark/394-Emphasis_and_strong_emphasis.html
index 303a42a..b01c570 100644
--- a/tests/commonmark/394-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/394-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-(foo)
\ No newline at end of file
+foo "bar" foo
\ No newline at end of file
diff --git a/tests/commonmark/394-Emphasis_and_strong_emphasis.md b/tests/commonmark/394-Emphasis_and_strong_emphasis.md
index 42e389a..433f461 100644
--- a/tests/commonmark/394-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/394-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-_(__foo__)_
\ No newline at end of file
+**foo "*bar*" foo**
\ No newline at end of file
diff --git a/tests/commonmark/395-Emphasis_and_strong_emphasis.html b/tests/commonmark/395-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..809bc0f
--- /dev/null
+++ b/tests/commonmark/395-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+foobar
\ No newline at end of file
diff --git a/tests/commonmark/395-Emphasis_and_strong_emphasis.md b/tests/commonmark/395-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..d3cd1ac
--- /dev/null
+++ b/tests/commonmark/395-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+**foo**bar
\ No newline at end of file
diff --git a/tests/commonmark/398-Emphasis_and_strong_emphasis.html b/tests/commonmark/398-Emphasis_and_strong_emphasis.html
index 3bd2221..303a42a 100644
--- a/tests/commonmark/398-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/398-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-(bar).
\ No newline at end of file
+(foo)
\ No newline at end of file
diff --git a/tests/commonmark/398-Emphasis_and_strong_emphasis.md b/tests/commonmark/398-Emphasis_and_strong_emphasis.md
index 2db9b37..42e389a 100644
--- a/tests/commonmark/398-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/398-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-__(bar)__.
\ No newline at end of file
+_(__foo__)_
\ No newline at end of file
diff --git a/tests/commonmark/402-Emphasis_and_strong_emphasis.html b/tests/commonmark/402-Emphasis_and_strong_emphasis.html
index 144f02f..3bd2221 100644
--- a/tests/commonmark/402-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/402-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo bar
\ No newline at end of file
+(bar).
\ No newline at end of file
diff --git a/tests/commonmark/402-Emphasis_and_strong_emphasis.md b/tests/commonmark/402-Emphasis_and_strong_emphasis.md
index b06a7e3..2db9b37 100644
--- a/tests/commonmark/402-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/402-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-*foo **bar***
\ No newline at end of file
+__(bar)__.
\ No newline at end of file
diff --git a/tests/commonmark/403-Emphasis_and_strong_emphasis.html b/tests/commonmark/403-Emphasis_and_strong_emphasis.html
index 1791723..1ff010c 100644
--- a/tests/commonmark/403-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/403-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foobar
\ No newline at end of file
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/403-Emphasis_and_strong_emphasis.md b/tests/commonmark/403-Emphasis_and_strong_emphasis.md
index ebc4ea2..c21bf16 100644
--- a/tests/commonmark/403-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/403-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-*foo**bar***
\ No newline at end of file
+*foo [bar](/url)*
\ No newline at end of file
diff --git a/tests/commonmark/404-Emphasis_and_strong_emphasis.html b/tests/commonmark/404-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..7689ec0
--- /dev/null
+++ b/tests/commonmark/404-Emphasis_and_strong_emphasis.html
@@ -0,0 +1,2 @@
+foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/404-Emphasis_and_strong_emphasis.md b/tests/commonmark/404-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..b022a72
--- /dev/null
+++ b/tests/commonmark/404-Emphasis_and_strong_emphasis.md
@@ -0,0 +1,2 @@
+*foo
+bar*
\ No newline at end of file
diff --git a/tests/commonmark/405-Emphasis_and_strong_emphasis.md b/tests/commonmark/405-Emphasis_and_strong_emphasis.md
index 78193e4..16e9273 100644
--- a/tests/commonmark/405-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/405-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-*foo **bar** baz*
\ No newline at end of file
+_foo __bar__ baz_
\ No newline at end of file
diff --git a/tests/commonmark/409-Emphasis_and_strong_emphasis.html b/tests/commonmark/409-Emphasis_and_strong_emphasis.html
index 144f02f..0b47893 100644
--- a/tests/commonmark/409-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/409-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo bar
\ No newline at end of file
+foo bar baz
\ No newline at end of file
diff --git a/tests/commonmark/409-Emphasis_and_strong_emphasis.md b/tests/commonmark/409-Emphasis_and_strong_emphasis.md
index b06a7e3..78193e4 100644
--- a/tests/commonmark/409-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/409-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-*foo **bar***
\ No newline at end of file
+*foo **bar** baz*
\ No newline at end of file
diff --git a/tests/commonmark/410-Emphasis_and_strong_emphasis.html b/tests/commonmark/410-Emphasis_and_strong_emphasis.html
index 1791723..98aa6a9 100644
--- a/tests/commonmark/410-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/410-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foobar
\ No newline at end of file
+foobarbaz
\ No newline at end of file
diff --git a/tests/commonmark/410-Emphasis_and_strong_emphasis.md b/tests/commonmark/410-Emphasis_and_strong_emphasis.md
index ebc4ea2..b7fa051 100644
--- a/tests/commonmark/410-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/410-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-*foo**bar***
\ No newline at end of file
+*foo**bar**baz*
\ No newline at end of file
diff --git a/tests/commonmark/412-Emphasis_and_strong_emphasis.html b/tests/commonmark/412-Emphasis_and_strong_emphasis.html
index 2492893..164c9f5 100644
--- a/tests/commonmark/412-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/412-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo bar baz
\ No newline at end of file
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/412-Emphasis_and_strong_emphasis.md b/tests/commonmark/412-Emphasis_and_strong_emphasis.md
index 43ea6af..5cc3a68 100644
--- a/tests/commonmark/412-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/412-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-__foo _bar_ baz__
\ No newline at end of file
+***foo** bar*
\ No newline at end of file
diff --git a/tests/commonmark/413-Emphasis_and_strong_emphasis.html b/tests/commonmark/413-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..144f02f
--- /dev/null
+++ b/tests/commonmark/413-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/413-Emphasis_and_strong_emphasis.md b/tests/commonmark/413-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..b06a7e3
--- /dev/null
+++ b/tests/commonmark/413-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+*foo **bar***
\ No newline at end of file
diff --git a/tests/commonmark/414-Emphasis_and_strong_emphasis.html b/tests/commonmark/414-Emphasis_and_strong_emphasis.html
index 2492893..1791723 100644
--- a/tests/commonmark/414-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/414-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo bar baz
\ No newline at end of file
+foobar
\ No newline at end of file
diff --git a/tests/commonmark/414-Emphasis_and_strong_emphasis.md b/tests/commonmark/414-Emphasis_and_strong_emphasis.md
index 882e028..ebc4ea2 100644
--- a/tests/commonmark/414-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/414-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-**foo *bar* baz**
\ No newline at end of file
+*foo**bar***
\ No newline at end of file
diff --git a/tests/commonmark/419-Emphasis_and_strong_emphasis.html b/tests/commonmark/419-Emphasis_and_strong_emphasis.html
index 2492893..166a610 100644
--- a/tests/commonmark/419-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/419-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo bar baz
\ No newline at end of file
+** is not an empty emphasis
\ No newline at end of file
diff --git a/tests/commonmark/419-Emphasis_and_strong_emphasis.md b/tests/commonmark/419-Emphasis_and_strong_emphasis.md
index 43ea6af..037cdc7 100644
--- a/tests/commonmark/419-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/419-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-__foo _bar_ baz__
\ No newline at end of file
+** is not an empty emphasis
\ No newline at end of file
diff --git a/tests/commonmark/420-Emphasis_and_strong_emphasis.html b/tests/commonmark/420-Emphasis_and_strong_emphasis.html
index 0bda6dc..e3df69e 100644
--- a/tests/commonmark/420-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/420-Emphasis_and_strong_emphasis.html
@@ -1,2 +1 @@
-foo bar baz
-bim bop
\ No newline at end of file
+**** is not an empty strong emphasis
\ No newline at end of file
diff --git a/tests/commonmark/420-Emphasis_and_strong_emphasis.md b/tests/commonmark/420-Emphasis_and_strong_emphasis.md
index b20e356..be54f61 100644
--- a/tests/commonmark/420-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/420-Emphasis_and_strong_emphasis.md
@@ -1,2 +1 @@
-**foo *bar **baz**
-bim* bop**
\ No newline at end of file
+**** is not an empty strong emphasis
\ No newline at end of file
diff --git a/tests/commonmark/421-Emphasis_and_strong_emphasis.html b/tests/commonmark/421-Emphasis_and_strong_emphasis.html
index 66fd6ac..2125508 100644
--- a/tests/commonmark/421-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/421-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo bar
\ No newline at end of file
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/421-Emphasis_and_strong_emphasis.md b/tests/commonmark/421-Emphasis_and_strong_emphasis.md
index 6f30578..35bb4eb 100644
--- a/tests/commonmark/421-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/421-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-**foo [*bar*](/url)**
\ No newline at end of file
+**foo [bar](/url)**
\ No newline at end of file
diff --git a/tests/commonmark/422-Emphasis_and_strong_emphasis.html b/tests/commonmark/422-Emphasis_and_strong_emphasis.html
index 74e3890..5cf4df2 100644
--- a/tests/commonmark/422-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/422-Emphasis_and_strong_emphasis.html
@@ -1 +1,2 @@
-__ is not an empty emphasis
\ No newline at end of file
+foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/422-Emphasis_and_strong_emphasis.md b/tests/commonmark/422-Emphasis_and_strong_emphasis.md
index 36321c8..01b4e42 100644
--- a/tests/commonmark/422-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/422-Emphasis_and_strong_emphasis.md
@@ -1 +1,2 @@
-__ is not an empty emphasis
\ No newline at end of file
+**foo
+bar**
\ No newline at end of file
diff --git a/tests/commonmark/423-Emphasis_and_strong_emphasis.md b/tests/commonmark/423-Emphasis_and_strong_emphasis.md
index 882e028..43ea6af 100644
--- a/tests/commonmark/423-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/423-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-**foo *bar* baz**
\ No newline at end of file
+__foo _bar_ baz__
\ No newline at end of file
diff --git a/tests/commonmark/427-Emphasis_and_strong_emphasis.html b/tests/commonmark/427-Emphasis_and_strong_emphasis.html
index 0bda6dc..2492893 100644
--- a/tests/commonmark/427-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/427-Emphasis_and_strong_emphasis.html
@@ -1,2 +1 @@
-foo bar baz
-bim bop
\ No newline at end of file
+foo bar baz
\ No newline at end of file
diff --git a/tests/commonmark/427-Emphasis_and_strong_emphasis.md b/tests/commonmark/427-Emphasis_and_strong_emphasis.md
index b20e356..882e028 100644
--- a/tests/commonmark/427-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/427-Emphasis_and_strong_emphasis.md
@@ -1,2 +1 @@
-**foo *bar **baz**
-bim* bop**
\ No newline at end of file
+**foo *bar* baz**
\ No newline at end of file
diff --git a/tests/commonmark/428-Emphasis_and_strong_emphasis.html b/tests/commonmark/428-Emphasis_and_strong_emphasis.html
index 66fd6ac..2486715 100644
--- a/tests/commonmark/428-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/428-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo bar
\ No newline at end of file
+foobarbaz
\ No newline at end of file
diff --git a/tests/commonmark/428-Emphasis_and_strong_emphasis.md b/tests/commonmark/428-Emphasis_and_strong_emphasis.md
index 6f30578..afed67f 100644
--- a/tests/commonmark/428-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/428-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-**foo [*bar*](/url)**
\ No newline at end of file
+**foo*bar*baz**
\ No newline at end of file
diff --git a/tests/commonmark/429-Emphasis_and_strong_emphasis.html b/tests/commonmark/429-Emphasis_and_strong_emphasis.html
index 74e3890..f622efc 100644
--- a/tests/commonmark/429-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/429-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-__ is not an empty emphasis
\ No newline at end of file
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/429-Emphasis_and_strong_emphasis.md b/tests/commonmark/429-Emphasis_and_strong_emphasis.md
index 36321c8..8b84f99 100644
--- a/tests/commonmark/429-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/429-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-__ is not an empty emphasis
\ No newline at end of file
+***foo* bar**
\ No newline at end of file
diff --git a/tests/commonmark/430-Emphasis_and_strong_emphasis.html b/tests/commonmark/430-Emphasis_and_strong_emphasis.html
index f16037e..14558ef 100644
--- a/tests/commonmark/430-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/430-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-____ is not an empty strong emphasis
\ No newline at end of file
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/430-Emphasis_and_strong_emphasis.md b/tests/commonmark/430-Emphasis_and_strong_emphasis.md
index bfb3a42..21e1d4a 100644
--- a/tests/commonmark/430-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/430-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-____ is not an empty strong emphasis
\ No newline at end of file
+**foo *bar***
\ No newline at end of file
diff --git a/tests/commonmark/431-Emphasis_and_strong_emphasis.html b/tests/commonmark/431-Emphasis_and_strong_emphasis.html
index 9d72201..0bda6dc 100644
--- a/tests/commonmark/431-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/431-Emphasis_and_strong_emphasis.html
@@ -1 +1,2 @@
-foo ***
\ No newline at end of file
+foo bar baz
+bim bop
\ No newline at end of file
diff --git a/tests/commonmark/431-Emphasis_and_strong_emphasis.md b/tests/commonmark/431-Emphasis_and_strong_emphasis.md
index 0de26c3..b20e356 100644
--- a/tests/commonmark/431-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/431-Emphasis_and_strong_emphasis.md
@@ -1 +1,2 @@
-foo ***
\ No newline at end of file
+**foo *bar **baz**
+bim* bop**
\ No newline at end of file
diff --git a/tests/commonmark/432-Emphasis_and_strong_emphasis.html b/tests/commonmark/432-Emphasis_and_strong_emphasis.html
index d27525d..66fd6ac 100644
--- a/tests/commonmark/432-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/432-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo *
\ No newline at end of file
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/432-Emphasis_and_strong_emphasis.md b/tests/commonmark/432-Emphasis_and_strong_emphasis.md
index d8b2d7e..6f30578 100644
--- a/tests/commonmark/432-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/432-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo *\**
\ No newline at end of file
+**foo [*bar*](/url)**
\ No newline at end of file
diff --git a/tests/commonmark/433-Emphasis_and_strong_emphasis.html b/tests/commonmark/433-Emphasis_and_strong_emphasis.html
index 29ed14b..74e3890 100644
--- a/tests/commonmark/433-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/433-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo _
\ No newline at end of file
+__ is not an empty emphasis
\ No newline at end of file
diff --git a/tests/commonmark/433-Emphasis_and_strong_emphasis.md b/tests/commonmark/433-Emphasis_and_strong_emphasis.md
index 3e2f071..36321c8 100644
--- a/tests/commonmark/433-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/433-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo *_*
\ No newline at end of file
+__ is not an empty emphasis
\ No newline at end of file
diff --git a/tests/commonmark/434-Emphasis_and_strong_emphasis.html b/tests/commonmark/434-Emphasis_and_strong_emphasis.html
index 06906bd..f16037e 100644
--- a/tests/commonmark/434-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/434-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo *****
\ No newline at end of file
+____ is not an empty strong emphasis
\ No newline at end of file
diff --git a/tests/commonmark/434-Emphasis_and_strong_emphasis.md b/tests/commonmark/434-Emphasis_and_strong_emphasis.md
index 13301de..bfb3a42 100644
--- a/tests/commonmark/434-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/434-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo *****
\ No newline at end of file
+____ is not an empty strong emphasis
\ No newline at end of file
diff --git a/tests/commonmark/435-Emphasis_and_strong_emphasis.html b/tests/commonmark/435-Emphasis_and_strong_emphasis.html
index b6d7ef7..9d72201 100644
--- a/tests/commonmark/435-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/435-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo *
\ No newline at end of file
+foo ***
\ No newline at end of file
diff --git a/tests/commonmark/435-Emphasis_and_strong_emphasis.md b/tests/commonmark/435-Emphasis_and_strong_emphasis.md
index 3b7ef89..0de26c3 100644
--- a/tests/commonmark/435-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/435-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo **\***
\ No newline at end of file
+foo ***
\ No newline at end of file
diff --git a/tests/commonmark/436-Emphasis_and_strong_emphasis.html b/tests/commonmark/436-Emphasis_and_strong_emphasis.html
index ac76fd7..d27525d 100644
--- a/tests/commonmark/436-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/436-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo _
\ No newline at end of file
+foo *
\ No newline at end of file
diff --git a/tests/commonmark/436-Emphasis_and_strong_emphasis.md b/tests/commonmark/436-Emphasis_and_strong_emphasis.md
index d3ff1ba..d8b2d7e 100644
--- a/tests/commonmark/436-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/436-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo **_**
\ No newline at end of file
+foo *\**
\ No newline at end of file
diff --git a/tests/commonmark/437-Emphasis_and_strong_emphasis.html b/tests/commonmark/437-Emphasis_and_strong_emphasis.html
index 8e333f4..29ed14b 100644
--- a/tests/commonmark/437-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/437-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-*foo
\ No newline at end of file
+foo _
\ No newline at end of file
diff --git a/tests/commonmark/437-Emphasis_and_strong_emphasis.md b/tests/commonmark/437-Emphasis_and_strong_emphasis.md
index e1abe6f..3e2f071 100644
--- a/tests/commonmark/437-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/437-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-**foo*
\ No newline at end of file
+foo *_*
\ No newline at end of file
diff --git a/tests/commonmark/438-Emphasis_and_strong_emphasis.html b/tests/commonmark/438-Emphasis_and_strong_emphasis.html
index d27525d..06906bd 100644
--- a/tests/commonmark/438-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/438-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo *
\ No newline at end of file
+foo *****
\ No newline at end of file
diff --git a/tests/commonmark/438-Emphasis_and_strong_emphasis.md b/tests/commonmark/438-Emphasis_and_strong_emphasis.md
index ecc970b..13301de 100644
--- a/tests/commonmark/438-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/438-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo _*_
\ No newline at end of file
+foo *****
\ No newline at end of file
diff --git a/tests/commonmark/439-Emphasis_and_strong_emphasis.html b/tests/commonmark/439-Emphasis_and_strong_emphasis.html
index 2e8d732..b6d7ef7 100644
--- a/tests/commonmark/439-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/439-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-*foo
\ No newline at end of file
+foo *
\ No newline at end of file
diff --git a/tests/commonmark/439-Emphasis_and_strong_emphasis.md b/tests/commonmark/439-Emphasis_and_strong_emphasis.md
index 541636a..3b7ef89 100644
--- a/tests/commonmark/439-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/439-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-***foo**
\ No newline at end of file
+foo **\***
\ No newline at end of file
diff --git a/tests/commonmark/440-Emphasis_and_strong_emphasis.html b/tests/commonmark/440-Emphasis_and_strong_emphasis.html
index d40de87..ac76fd7 100644
--- a/tests/commonmark/440-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/440-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-***foo
\ No newline at end of file
+foo _
\ No newline at end of file
diff --git a/tests/commonmark/440-Emphasis_and_strong_emphasis.md b/tests/commonmark/440-Emphasis_and_strong_emphasis.md
index 2c69310..d3ff1ba 100644
--- a/tests/commonmark/440-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/440-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-****foo*
\ No newline at end of file
+foo **_**
\ No newline at end of file
diff --git a/tests/commonmark/441-Emphasis_and_strong_emphasis.html b/tests/commonmark/441-Emphasis_and_strong_emphasis.html
index b6d7ef7..8e333f4 100644
--- a/tests/commonmark/441-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/441-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo *
\ No newline at end of file
+*foo
\ No newline at end of file
diff --git a/tests/commonmark/441-Emphasis_and_strong_emphasis.md b/tests/commonmark/441-Emphasis_and_strong_emphasis.md
index 9f8cf1b..e1abe6f 100644
--- a/tests/commonmark/441-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/441-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo __*__
\ No newline at end of file
+**foo*
\ No newline at end of file
diff --git a/tests/commonmark/443-Emphasis_and_strong_emphasis.html b/tests/commonmark/443-Emphasis_and_strong_emphasis.html
index a00548a..2e8d732 100644
--- a/tests/commonmark/443-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/443-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo ___
\ No newline at end of file
+*foo
\ No newline at end of file
diff --git a/tests/commonmark/443-Emphasis_and_strong_emphasis.md b/tests/commonmark/443-Emphasis_and_strong_emphasis.md
index 0db9269..541636a 100644
--- a/tests/commonmark/443-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/443-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo ___
\ No newline at end of file
+***foo**
\ No newline at end of file
diff --git a/tests/commonmark/444-Emphasis_and_strong_emphasis.html b/tests/commonmark/444-Emphasis_and_strong_emphasis.html
index 29ed14b..d40de87 100644
--- a/tests/commonmark/444-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/444-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo _
\ No newline at end of file
+***foo
\ No newline at end of file
diff --git a/tests/commonmark/444-Emphasis_and_strong_emphasis.md b/tests/commonmark/444-Emphasis_and_strong_emphasis.md
index 2e02dfa..2c69310 100644
--- a/tests/commonmark/444-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/444-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo _\__
\ No newline at end of file
+****foo*
\ No newline at end of file
diff --git a/tests/commonmark/447-Emphasis_and_strong_emphasis.html b/tests/commonmark/447-Emphasis_and_strong_emphasis.html
index ac76fd7..a00548a 100644
--- a/tests/commonmark/447-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/447-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo _
\ No newline at end of file
+foo ___
\ No newline at end of file
diff --git a/tests/commonmark/447-Emphasis_and_strong_emphasis.md b/tests/commonmark/447-Emphasis_and_strong_emphasis.md
index fcd64ad..0db9269 100644
--- a/tests/commonmark/447-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/447-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo __\___
\ No newline at end of file
+foo ___
\ No newline at end of file
diff --git a/tests/commonmark/448-Emphasis_and_strong_emphasis.html b/tests/commonmark/448-Emphasis_and_strong_emphasis.html
index b6d7ef7..29ed14b 100644
--- a/tests/commonmark/448-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/448-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo *
\ No newline at end of file
+foo _
\ No newline at end of file
diff --git a/tests/commonmark/448-Emphasis_and_strong_emphasis.md b/tests/commonmark/448-Emphasis_and_strong_emphasis.md
index 9f8cf1b..2e02dfa 100644
--- a/tests/commonmark/448-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/448-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-foo __*__
\ No newline at end of file
+foo _\__
\ No newline at end of file
diff --git a/tests/commonmark/449-Emphasis_and_strong_emphasis.html b/tests/commonmark/449-Emphasis_and_strong_emphasis.html
index af0c134..d27525d 100644
--- a/tests/commonmark/449-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/449-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-_foo
\ No newline at end of file
+foo *
\ No newline at end of file
diff --git a/tests/commonmark/449-Emphasis_and_strong_emphasis.md b/tests/commonmark/449-Emphasis_and_strong_emphasis.md
index 803d7d0..ecc970b 100644
--- a/tests/commonmark/449-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/449-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-__foo_
\ No newline at end of file
+foo _*_
\ No newline at end of file
diff --git a/tests/commonmark/450-Emphasis_and_strong_emphasis.html b/tests/commonmark/450-Emphasis_and_strong_emphasis.html
index e1d6eed..12b1a91 100644
--- a/tests/commonmark/450-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/450-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo
\ No newline at end of file
+foo _____
\ No newline at end of file
diff --git a/tests/commonmark/450-Emphasis_and_strong_emphasis.md b/tests/commonmark/450-Emphasis_and_strong_emphasis.md
index a537e31..0ce0328 100644
--- a/tests/commonmark/450-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/450-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-__foo__
\ No newline at end of file
+foo _____
\ No newline at end of file
diff --git a/tests/commonmark/451-Emphasis_and_strong_emphasis.html b/tests/commonmark/451-Emphasis_and_strong_emphasis.html
index abdb3c1..ac76fd7 100644
--- a/tests/commonmark/451-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/451-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-_foo
\ No newline at end of file
+foo _
\ No newline at end of file
diff --git a/tests/commonmark/451-Emphasis_and_strong_emphasis.md b/tests/commonmark/451-Emphasis_and_strong_emphasis.md
index b89593a..fcd64ad 100644
--- a/tests/commonmark/451-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/451-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-___foo__
\ No newline at end of file
+foo __\___
\ No newline at end of file
diff --git a/tests/commonmark/452-Emphasis_and_strong_emphasis.html b/tests/commonmark/452-Emphasis_and_strong_emphasis.html
index e695550..b6d7ef7 100644
--- a/tests/commonmark/452-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/452-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-___foo
\ No newline at end of file
+foo *
\ No newline at end of file
diff --git a/tests/commonmark/452-Emphasis_and_strong_emphasis.md b/tests/commonmark/452-Emphasis_and_strong_emphasis.md
index 17f86c3..9f8cf1b 100644
--- a/tests/commonmark/452-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/452-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-____foo_
\ No newline at end of file
+foo __*__
\ No newline at end of file
diff --git a/tests/commonmark/453-Emphasis_and_strong_emphasis.html b/tests/commonmark/453-Emphasis_and_strong_emphasis.html
index 47f4408..af0c134 100644
--- a/tests/commonmark/453-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/453-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo
\ No newline at end of file
+_foo
\ No newline at end of file
diff --git a/tests/commonmark/453-Emphasis_and_strong_emphasis.md b/tests/commonmark/453-Emphasis_and_strong_emphasis.md
index b15ab5f..803d7d0 100644
--- a/tests/commonmark/453-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/453-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-____foo____
\ No newline at end of file
+__foo_
\ No newline at end of file
diff --git a/tests/commonmark/455-Emphasis_and_strong_emphasis.html b/tests/commonmark/455-Emphasis_and_strong_emphasis.html
index e1d6eed..abdb3c1 100644
--- a/tests/commonmark/455-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/455-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo
\ No newline at end of file
+_foo
\ No newline at end of file
diff --git a/tests/commonmark/455-Emphasis_and_strong_emphasis.md b/tests/commonmark/455-Emphasis_and_strong_emphasis.md
index bec0cb7..b89593a 100644
--- a/tests/commonmark/455-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/455-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-**foo**
\ No newline at end of file
+___foo__
\ No newline at end of file
diff --git a/tests/commonmark/456-Emphasis_and_strong_emphasis.html b/tests/commonmark/456-Emphasis_and_strong_emphasis.html
index 8b2f852..e695550 100644
--- a/tests/commonmark/456-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/456-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo
\ No newline at end of file
+___foo
\ No newline at end of file
diff --git a/tests/commonmark/456-Emphasis_and_strong_emphasis.md b/tests/commonmark/456-Emphasis_and_strong_emphasis.md
index 655eafd..17f86c3 100644
--- a/tests/commonmark/456-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/456-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-*_foo_*
\ No newline at end of file
+____foo_
\ No newline at end of file
diff --git a/tests/commonmark/459-Emphasis_and_strong_emphasis.html b/tests/commonmark/459-Emphasis_and_strong_emphasis.html
index 47f4408..e1d6eed 100644
--- a/tests/commonmark/459-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/459-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo
\ No newline at end of file
+foo
\ No newline at end of file
diff --git a/tests/commonmark/459-Emphasis_and_strong_emphasis.md b/tests/commonmark/459-Emphasis_and_strong_emphasis.md
index 86341ef..bec0cb7 100644
--- a/tests/commonmark/459-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/459-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-****foo****
\ No newline at end of file
+**foo**
\ No newline at end of file
diff --git a/tests/commonmark/460-Emphasis_and_strong_emphasis.html b/tests/commonmark/460-Emphasis_and_strong_emphasis.html
index 47f4408..8b2f852 100644
--- a/tests/commonmark/460-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/460-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo
\ No newline at end of file
+foo
\ No newline at end of file
diff --git a/tests/commonmark/460-Emphasis_and_strong_emphasis.md b/tests/commonmark/460-Emphasis_and_strong_emphasis.md
index b15ab5f..655eafd 100644
--- a/tests/commonmark/460-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/460-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-____foo____
\ No newline at end of file
+*_foo_*
\ No newline at end of file
diff --git a/tests/commonmark/461-Emphasis_and_strong_emphasis.html b/tests/commonmark/461-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..e1d6eed
--- /dev/null
+++ b/tests/commonmark/461-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/461-Emphasis_and_strong_emphasis.md b/tests/commonmark/461-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..a537e31
--- /dev/null
+++ b/tests/commonmark/461-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+__foo__
\ No newline at end of file
diff --git a/tests/commonmark/462-Emphasis_and_strong_emphasis.html b/tests/commonmark/462-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..8b2f852
--- /dev/null
+++ b/tests/commonmark/462-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/462-Emphasis_and_strong_emphasis.md b/tests/commonmark/462-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..37d06a9
--- /dev/null
+++ b/tests/commonmark/462-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+_*foo*_
\ No newline at end of file
diff --git a/tests/commonmark/463-Emphasis_and_strong_emphasis.html b/tests/commonmark/463-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..47f4408
--- /dev/null
+++ b/tests/commonmark/463-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/463-Emphasis_and_strong_emphasis.md b/tests/commonmark/463-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..86341ef
--- /dev/null
+++ b/tests/commonmark/463-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+****foo****
\ No newline at end of file
diff --git a/tests/commonmark/464-Emphasis_and_strong_emphasis.html b/tests/commonmark/464-Emphasis_and_strong_emphasis.html
index 9ecd0f7..47f4408 100644
--- a/tests/commonmark/464-Emphasis_and_strong_emphasis.html
+++ b/tests/commonmark/464-Emphasis_and_strong_emphasis.html
@@ -1 +1 @@
-foo _bar baz_
\ No newline at end of file
+foo
\ No newline at end of file
diff --git a/tests/commonmark/464-Emphasis_and_strong_emphasis.md b/tests/commonmark/464-Emphasis_and_strong_emphasis.md
index 56ee1ee..b15ab5f 100644
--- a/tests/commonmark/464-Emphasis_and_strong_emphasis.md
+++ b/tests/commonmark/464-Emphasis_and_strong_emphasis.md
@@ -1 +1 @@
-*foo _bar* baz_
\ No newline at end of file
+____foo____
\ No newline at end of file
diff --git a/tests/commonmark/468-Emphasis_and_strong_emphasis.html b/tests/commonmark/468-Emphasis_and_strong_emphasis.html
new file mode 100644
index 0000000..9ecd0f7
--- /dev/null
+++ b/tests/commonmark/468-Emphasis_and_strong_emphasis.html
@@ -0,0 +1 @@
+foo _bar baz_
\ No newline at end of file
diff --git a/tests/commonmark/468-Emphasis_and_strong_emphasis.md b/tests/commonmark/468-Emphasis_and_strong_emphasis.md
new file mode 100644
index 0000000..56ee1ee
--- /dev/null
+++ b/tests/commonmark/468-Emphasis_and_strong_emphasis.md
@@ -0,0 +1 @@
+*foo _bar* baz_
\ No newline at end of file
diff --git a/tests/commonmark/481-Links.html b/tests/commonmark/481-Links.html
index 7bc00e3..4183f3e 100644
--- a/tests/commonmark/481-Links.html
+++ b/tests/commonmark/481-Links.html
@@ -1 +1 @@
-[link](/my uri)
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/481-Links.md b/tests/commonmark/481-Links.md
index 6f44be6..6623a16 100644
--- a/tests/commonmark/481-Links.md
+++ b/tests/commonmark/481-Links.md
@@ -1 +1 @@
-[link](/my uri)
\ No newline at end of file
+[link](/uri "title")
\ No newline at end of file
diff --git a/tests/commonmark/482-Links.html b/tests/commonmark/482-Links.html
new file mode 100644
index 0000000..be35e69
--- /dev/null
+++ b/tests/commonmark/482-Links.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/482-Links.md b/tests/commonmark/482-Links.md
new file mode 100644
index 0000000..438423c
--- /dev/null
+++ b/tests/commonmark/482-Links.md
@@ -0,0 +1 @@
+[link](/uri)
\ No newline at end of file
diff --git a/tests/commonmark/483-Links.html b/tests/commonmark/483-Links.html
new file mode 100644
index 0000000..782298a
--- /dev/null
+++ b/tests/commonmark/483-Links.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/483-Links.md b/tests/commonmark/483-Links.md
new file mode 100644
index 0000000..b84d6c2
--- /dev/null
+++ b/tests/commonmark/483-Links.md
@@ -0,0 +1 @@
+[link]()
\ No newline at end of file
diff --git a/tests/commonmark/485-Links.html b/tests/commonmark/485-Links.html
new file mode 100644
index 0000000..7bc00e3
--- /dev/null
+++ b/tests/commonmark/485-Links.html
@@ -0,0 +1 @@
+[link](/my uri)
\ No newline at end of file
diff --git a/tests/commonmark/485-Links.md b/tests/commonmark/485-Links.md
new file mode 100644
index 0000000..6f44be6
--- /dev/null
+++ b/tests/commonmark/485-Links.md
@@ -0,0 +1 @@
+[link](/my uri)
\ No newline at end of file
diff --git a/tests/commonmark/497-Links.html b/tests/commonmark/497-Links.html
index 1651774..4a3cb66 100644
--- a/tests/commonmark/497-Links.html
+++ b/tests/commonmark/497-Links.html
@@ -1 +1,3 @@
-[link bar
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/497-Links.md b/tests/commonmark/497-Links.md
index e439362..efea20f 100644
--- a/tests/commonmark/497-Links.md
+++ b/tests/commonmark/497-Links.md
@@ -1 +1,5 @@
-[link [bar](/uri)
\ No newline at end of file
+[link](#fragment)
+
+[link](http://example.com#fragment)
+
+[link](http://example.com?foo=3#frag)
\ No newline at end of file
diff --git a/tests/commonmark/504-Links.html b/tests/commonmark/504-Links.html
index 0554290..888d36c 100644
--- a/tests/commonmark/504-Links.html
+++ b/tests/commonmark/504-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+[link](/url "title "and" title")
\ No newline at end of file
diff --git a/tests/commonmark/504-Links.md b/tests/commonmark/504-Links.md
index ddbc0b8..9566155 100644
--- a/tests/commonmark/504-Links.md
+++ b/tests/commonmark/504-Links.md
@@ -1 +1 @@
-[link [foo [bar]]](/uri)
\ No newline at end of file
+[link](/url "title "and" title")
\ No newline at end of file
diff --git a/tests/commonmark/505-Links.html b/tests/commonmark/505-Links.html
index f571ea4..bfd0b4d 100644
--- a/tests/commonmark/505-Links.html
+++ b/tests/commonmark/505-Links.html
@@ -1 +1 @@
-[link] bar](/uri)
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/505-Links.md b/tests/commonmark/505-Links.md
index 7d60028..aa6f149 100644
--- a/tests/commonmark/505-Links.md
+++ b/tests/commonmark/505-Links.md
@@ -1 +1 @@
-[link] bar](/uri)
\ No newline at end of file
+[link](/url 'title "and" title')
\ No newline at end of file
diff --git a/tests/commonmark/507-Links.html b/tests/commonmark/507-Links.html
index de843ed..f2922d4 100644
--- a/tests/commonmark/507-Links.html
+++ b/tests/commonmark/507-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+[link] (/uri)
\ No newline at end of file
diff --git a/tests/commonmark/507-Links.md b/tests/commonmark/507-Links.md
index d6466f8..b4360a5 100644
--- a/tests/commonmark/507-Links.md
+++ b/tests/commonmark/507-Links.md
@@ -1,3 +1 @@
-[foo][bar]
-
-[bar]: /url "title"
\ No newline at end of file
+[link] (/uri)
\ No newline at end of file
diff --git a/tests/commonmark/508-Links.html b/tests/commonmark/508-Links.html
index 3829fb0..0554290 100644
--- a/tests/commonmark/508-Links.html
+++ b/tests/commonmark/508-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/508-Links.md b/tests/commonmark/508-Links.md
index bc08e1b..ddbc0b8 100644
--- a/tests/commonmark/508-Links.md
+++ b/tests/commonmark/508-Links.md
@@ -1 +1 @@
-[link *foo **bar** `#`*](/uri)
\ No newline at end of file
+[link [foo [bar]]](/uri)
\ No newline at end of file
diff --git a/tests/commonmark/509-Links.html b/tests/commonmark/509-Links.html
index 17c6e98..f571ea4 100644
--- a/tests/commonmark/509-Links.html
+++ b/tests/commonmark/509-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+[link] bar](/uri)
\ No newline at end of file
diff --git a/tests/commonmark/509-Links.md b/tests/commonmark/509-Links.md
index 3271f84..7d60028 100644
--- a/tests/commonmark/509-Links.md
+++ b/tests/commonmark/509-Links.md
@@ -1 +1 @@
-[![moon](moon.jpg)](/uri)
\ No newline at end of file
+[link] bar](/uri)
\ No newline at end of file
diff --git a/tests/commonmark/510-Links.html b/tests/commonmark/510-Links.html
index de843ed..1651774 100644
--- a/tests/commonmark/510-Links.html
+++ b/tests/commonmark/510-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+[link bar
\ No newline at end of file
diff --git a/tests/commonmark/510-Links.md b/tests/commonmark/510-Links.md
index d6466f8..e439362 100644
--- a/tests/commonmark/510-Links.md
+++ b/tests/commonmark/510-Links.md
@@ -1,3 +1 @@
-[foo][bar]
-
-[bar]: /url "title"
\ No newline at end of file
+[link [bar](/uri)
\ No newline at end of file
diff --git a/tests/commonmark/512-Links.html b/tests/commonmark/512-Links.html
new file mode 100644
index 0000000..3829fb0
--- /dev/null
+++ b/tests/commonmark/512-Links.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/512-Links.md b/tests/commonmark/512-Links.md
new file mode 100644
index 0000000..bc08e1b
--- /dev/null
+++ b/tests/commonmark/512-Links.md
@@ -0,0 +1 @@
+[link *foo **bar** `#`*](/uri)
\ No newline at end of file
diff --git a/tests/commonmark/513-Links.html b/tests/commonmark/513-Links.html
index 3829fb0..17c6e98 100644
--- a/tests/commonmark/513-Links.html
+++ b/tests/commonmark/513-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/513-Links.md b/tests/commonmark/513-Links.md
index 1c0b5d9..3271f84 100644
--- a/tests/commonmark/513-Links.md
+++ b/tests/commonmark/513-Links.md
@@ -1,3 +1 @@
-[link *foo **bar** `#`*][ref]
-
-[ref]: /uri
\ No newline at end of file
+[![moon](moon.jpg)](/uri)
\ No newline at end of file
diff --git a/tests/commonmark/518-Links.html b/tests/commonmark/518-Links.html
index a06bc88..a5c8055 100644
--- a/tests/commonmark/518-Links.html
+++ b/tests/commonmark/518-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/518-Links.md b/tests/commonmark/518-Links.md
index 332766d..1f577f3 100644
--- a/tests/commonmark/518-Links.md
+++ b/tests/commonmark/518-Links.md
@@ -1,3 +1 @@
-[foo *bar][ref]
-
-[ref]: /uri
\ No newline at end of file
+[foo *bar](baz*)
\ No newline at end of file
diff --git a/tests/commonmark/519-Links.html b/tests/commonmark/519-Links.html
index de843ed..7f5ce69 100644
--- a/tests/commonmark/519-Links.html
+++ b/tests/commonmark/519-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+foo [bar baz]
\ No newline at end of file
diff --git a/tests/commonmark/519-Links.md b/tests/commonmark/519-Links.md
index d6466f8..20b5610 100644
--- a/tests/commonmark/519-Links.md
+++ b/tests/commonmark/519-Links.md
@@ -1,3 +1 @@
-[foo][bar]
-
-[bar]: /url "title"
\ No newline at end of file
+*foo [bar* baz]
\ No newline at end of file
diff --git a/tests/commonmark/52-Setext_headings.html b/tests/commonmark/52-Setext_headings.html
index c382f49..d2caac0 100644
--- a/tests/commonmark/52-Setext_headings.html
+++ b/tests/commonmark/52-Setext_headings.html
@@ -1,2 +1,2 @@
-Foo
-Foo
\ No newline at end of file
+Foo bar
+baz
\ No newline at end of file
diff --git a/tests/commonmark/52-Setext_headings.md b/tests/commonmark/52-Setext_headings.md
index 1a9888f..9f1b074 100644
--- a/tests/commonmark/52-Setext_headings.md
+++ b/tests/commonmark/52-Setext_headings.md
@@ -1,5 +1,3 @@
-Foo
--------------------------
-
-Foo
-=
\ No newline at end of file
+ Foo *bar
+baz*
+====
\ No newline at end of file
diff --git a/tests/commonmark/523-Links.html b/tests/commonmark/523-Links.html
index 17c6e98..de843ed 100644
--- a/tests/commonmark/523-Links.html
+++ b/tests/commonmark/523-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/523-Links.md b/tests/commonmark/523-Links.md
index 3afa1a2..d6466f8 100644
--- a/tests/commonmark/523-Links.md
+++ b/tests/commonmark/523-Links.md
@@ -1,3 +1,3 @@
-[![moon](moon.jpg)][ref]
+[foo][bar]
-[ref]: /uri
\ No newline at end of file
+[bar]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/524-Links.html b/tests/commonmark/524-Links.html
new file mode 100644
index 0000000..0554290
--- /dev/null
+++ b/tests/commonmark/524-Links.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/524-Links.md b/tests/commonmark/524-Links.md
new file mode 100644
index 0000000..d3f7233
--- /dev/null
+++ b/tests/commonmark/524-Links.md
@@ -0,0 +1,3 @@
+[link [foo [bar]]][ref]
+
+[ref]: /uri
\ No newline at end of file
diff --git a/tests/commonmark/526-Links.html b/tests/commonmark/526-Links.html
new file mode 100644
index 0000000..3829fb0
--- /dev/null
+++ b/tests/commonmark/526-Links.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/526-Links.md b/tests/commonmark/526-Links.md
new file mode 100644
index 0000000..1c0b5d9
--- /dev/null
+++ b/tests/commonmark/526-Links.md
@@ -0,0 +1,3 @@
+[link *foo **bar** `#`*][ref]
+
+[ref]: /uri
\ No newline at end of file
diff --git a/tests/commonmark/527-Links.html b/tests/commonmark/527-Links.html
index a06bc88..17c6e98 100644
--- a/tests/commonmark/527-Links.html
+++ b/tests/commonmark/527-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/527-Links.md b/tests/commonmark/527-Links.md
index 332766d..3afa1a2 100644
--- a/tests/commonmark/527-Links.md
+++ b/tests/commonmark/527-Links.md
@@ -1,3 +1,3 @@
-[foo *bar][ref]
+[![moon](moon.jpg)][ref]
[ref]: /uri
\ No newline at end of file
diff --git a/tests/commonmark/53-Setext_headings.html b/tests/commonmark/53-Setext_headings.html
index f268029..c382f49 100644
--- a/tests/commonmark/53-Setext_headings.html
+++ b/tests/commonmark/53-Setext_headings.html
@@ -1,3 +1,2 @@
Foo
-Foo
Foo
\ No newline at end of file
diff --git a/tests/commonmark/53-Setext_headings.md b/tests/commonmark/53-Setext_headings.md
index 6dbbfd3..1a9888f 100644
--- a/tests/commonmark/53-Setext_headings.md
+++ b/tests/commonmark/53-Setext_headings.md
@@ -1,8 +1,5 @@
- Foo
----
+Foo
+-------------------------
- Foo
------
-
- Foo
- ===
\ No newline at end of file
+Foo
+=
\ No newline at end of file
diff --git a/tests/commonmark/531-Links.html b/tests/commonmark/531-Links.html
index de843ed..a06bc88 100644
--- a/tests/commonmark/531-Links.html
+++ b/tests/commonmark/531-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/531-Links.md b/tests/commonmark/531-Links.md
index 9a2dcdf..332766d 100644
--- a/tests/commonmark/531-Links.md
+++ b/tests/commonmark/531-Links.md
@@ -1,3 +1,3 @@
-[foo][BaR]
+[foo *bar][ref]
-[bar]: /url "title"
\ No newline at end of file
+[ref]: /uri
\ No newline at end of file
diff --git a/tests/commonmark/535-Links.html b/tests/commonmark/535-Links.html
index 9fabbc6..de843ed 100644
--- a/tests/commonmark/535-Links.html
+++ b/tests/commonmark/535-Links.html
@@ -1,4 +1 @@
-[
-]
-[
-]: /uri
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/535-Links.md b/tests/commonmark/535-Links.md
index 911be99..9a2dcdf 100644
--- a/tests/commonmark/535-Links.md
+++ b/tests/commonmark/535-Links.md
@@ -1,5 +1,3 @@
-[
- ]
+[foo][BaR]
-[
- ]: /uri
\ No newline at end of file
+[bar]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/54-Setext_headings.html b/tests/commonmark/54-Setext_headings.html
index 5f253de..f268029 100644
--- a/tests/commonmark/54-Setext_headings.html
+++ b/tests/commonmark/54-Setext_headings.html
@@ -1,6 +1,3 @@
-Foo
----
-
-Foo
-
-
\ No newline at end of file
+Foo
+Foo
+Foo
\ No newline at end of file
diff --git a/tests/commonmark/54-Setext_headings.md b/tests/commonmark/54-Setext_headings.md
index b4375d8..6dbbfd3 100644
--- a/tests/commonmark/54-Setext_headings.md
+++ b/tests/commonmark/54-Setext_headings.md
@@ -1,5 +1,8 @@
- Foo
- ---
+ Foo
+---
- Foo
----
\ No newline at end of file
+ Foo
+-----
+
+ Foo
+ ===
\ No newline at end of file
diff --git a/tests/commonmark/541-Links.html b/tests/commonmark/541-Links.html
index a7d9a99..5e0f765 100644
--- a/tests/commonmark/541-Links.html
+++ b/tests/commonmark/541-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+[bar][foo!]
\ No newline at end of file
diff --git a/tests/commonmark/541-Links.md b/tests/commonmark/541-Links.md
index 0b6977f..db7962f 100644
--- a/tests/commonmark/541-Links.md
+++ b/tests/commonmark/541-Links.md
@@ -1,3 +1,3 @@
-[foo][ref\[]
+[bar][foo\!]
-[ref\[]: /uri
\ No newline at end of file
+[foo!]: /url
\ No newline at end of file
diff --git a/tests/commonmark/545-Links.html b/tests/commonmark/545-Links.html
index de843ed..a7d9a99 100644
--- a/tests/commonmark/545-Links.html
+++ b/tests/commonmark/545-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/545-Links.md b/tests/commonmark/545-Links.md
index 083537a..0b6977f 100644
--- a/tests/commonmark/545-Links.md
+++ b/tests/commonmark/545-Links.md
@@ -1,3 +1,3 @@
-[foo][]
+[foo][ref\[]
-[foo]: /url "title"
\ No newline at end of file
+[ref\[]: /uri
\ No newline at end of file
diff --git a/tests/commonmark/546-Links.html b/tests/commonmark/546-Links.html
index b11501f..82751e2 100644
--- a/tests/commonmark/546-Links.html
+++ b/tests/commonmark/546-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/546-Links.md b/tests/commonmark/546-Links.md
index a4dfedf..22c252b 100644
--- a/tests/commonmark/546-Links.md
+++ b/tests/commonmark/546-Links.md
@@ -1,3 +1,3 @@
-[*foo* bar][]
+[bar\\]: /uri
-[*foo* bar]: /url "title"
\ No newline at end of file
+[bar\\]
\ No newline at end of file
diff --git a/tests/commonmark/547-Links.html b/tests/commonmark/547-Links.html
index 9def84e..068a4d0 100644
--- a/tests/commonmark/547-Links.html
+++ b/tests/commonmark/547-Links.html
@@ -1 +1,2 @@
-
\ No newline at end of file
+[]
+[]: /uri
\ No newline at end of file
diff --git a/tests/commonmark/547-Links.md b/tests/commonmark/547-Links.md
index 389eccf..4d27829 100644
--- a/tests/commonmark/547-Links.md
+++ b/tests/commonmark/547-Links.md
@@ -1,3 +1,3 @@
-[Foo][]
+[]
-[foo]: /url "title"
\ No newline at end of file
+[]: /uri
\ No newline at end of file
diff --git a/tests/commonmark/548-Links.html b/tests/commonmark/548-Links.html
index 9a61fdf..9fabbc6 100644
--- a/tests/commonmark/548-Links.html
+++ b/tests/commonmark/548-Links.html
@@ -1 +1,4 @@
-
\ No newline at end of file
+[
+]
+[
+]: /uri
\ No newline at end of file
diff --git a/tests/commonmark/548-Links.md b/tests/commonmark/548-Links.md
index 6a0d814..911be99 100644
--- a/tests/commonmark/548-Links.md
+++ b/tests/commonmark/548-Links.md
@@ -1,4 +1,5 @@
-[foo][bar]
+[
+ ]
-[foo]: /url1
-[bar]: /url2
\ No newline at end of file
+[
+ ]: /uri
\ No newline at end of file
diff --git a/tests/commonmark/549-Links.md b/tests/commonmark/549-Links.md
index 4ab1d3d..083537a 100644
--- a/tests/commonmark/549-Links.md
+++ b/tests/commonmark/549-Links.md
@@ -1,3 +1,3 @@
-[foo]
+[foo][]
[foo]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/55-Setext_headings.html b/tests/commonmark/55-Setext_headings.html
index 0934dc2..5f253de 100644
--- a/tests/commonmark/55-Setext_headings.html
+++ b/tests/commonmark/55-Setext_headings.html
@@ -1 +1,6 @@
-Foo
\ No newline at end of file
+Foo
+---
+
+Foo
+
+
\ No newline at end of file
diff --git a/tests/commonmark/55-Setext_headings.md b/tests/commonmark/55-Setext_headings.md
index 52fdd4a..b4375d8 100644
--- a/tests/commonmark/55-Setext_headings.md
+++ b/tests/commonmark/55-Setext_headings.md
@@ -1,2 +1,5 @@
-Foo
- ----
\ No newline at end of file
+ Foo
+ ---
+
+ Foo
+---
\ No newline at end of file
diff --git a/tests/commonmark/550-Links.md b/tests/commonmark/550-Links.md
index bdae9df..a4dfedf 100644
--- a/tests/commonmark/550-Links.md
+++ b/tests/commonmark/550-Links.md
@@ -1,3 +1,3 @@
-[*foo* bar]
+[*foo* bar][]
[*foo* bar]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/551-Links.html b/tests/commonmark/551-Links.html
index 8c9b6bd..9def84e 100644
--- a/tests/commonmark/551-Links.html
+++ b/tests/commonmark/551-Links.html
@@ -1 +1 @@
-[foo bar]
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/551-Links.md b/tests/commonmark/551-Links.md
index 76264d6..389eccf 100644
--- a/tests/commonmark/551-Links.md
+++ b/tests/commonmark/551-Links.md
@@ -1,3 +1,3 @@
-[[*foo* bar]]
+[Foo][]
-[*foo* bar]: /url "title"
\ No newline at end of file
+[foo]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/553-Links.html b/tests/commonmark/553-Links.html
index 9def84e..de843ed 100644
--- a/tests/commonmark/553-Links.html
+++ b/tests/commonmark/553-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/553-Links.md b/tests/commonmark/553-Links.md
index 36b2412..4ab1d3d 100644
--- a/tests/commonmark/553-Links.md
+++ b/tests/commonmark/553-Links.md
@@ -1,3 +1,3 @@
-[Foo]
+[foo]
[foo]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/554-Links.html b/tests/commonmark/554-Links.html
index ed8faed..b11501f 100644
--- a/tests/commonmark/554-Links.html
+++ b/tests/commonmark/554-Links.html
@@ -1 +1 @@
-foo bar
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/554-Links.md b/tests/commonmark/554-Links.md
index 34aca25..bdae9df 100644
--- a/tests/commonmark/554-Links.md
+++ b/tests/commonmark/554-Links.md
@@ -1,3 +1,3 @@
-[foo] bar
+[*foo* bar]
-[foo]: /url
\ No newline at end of file
+[*foo* bar]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/555-Links.html b/tests/commonmark/555-Links.html
index 5b0f6bc..8c9b6bd 100644
--- a/tests/commonmark/555-Links.html
+++ b/tests/commonmark/555-Links.html
@@ -1 +1 @@
-[foo]
\ No newline at end of file
+[foo bar]
\ No newline at end of file
diff --git a/tests/commonmark/555-Links.md b/tests/commonmark/555-Links.md
index 4946e0e..76264d6 100644
--- a/tests/commonmark/555-Links.md
+++ b/tests/commonmark/555-Links.md
@@ -1,3 +1,3 @@
-\[foo]
+[[*foo* bar]]
-[foo]: /url "title"
\ No newline at end of file
+[*foo* bar]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/557-Links.html b/tests/commonmark/557-Links.html
index 9a61fdf..9def84e 100644
--- a/tests/commonmark/557-Links.html
+++ b/tests/commonmark/557-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/557-Links.md b/tests/commonmark/557-Links.md
index 6a0d814..36b2412 100644
--- a/tests/commonmark/557-Links.md
+++ b/tests/commonmark/557-Links.md
@@ -1,4 +1,3 @@
-[foo][bar]
+[Foo]
-[foo]: /url1
-[bar]: /url2
\ No newline at end of file
+[foo]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/558-Links.html b/tests/commonmark/558-Links.html
index e85752e..ed8faed 100644
--- a/tests/commonmark/558-Links.html
+++ b/tests/commonmark/558-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+foo bar
\ No newline at end of file
diff --git a/tests/commonmark/558-Links.md b/tests/commonmark/558-Links.md
index 7101c72..34aca25 100644
--- a/tests/commonmark/558-Links.md
+++ b/tests/commonmark/558-Links.md
@@ -1,3 +1,3 @@
-[foo][]
+[foo] bar
-[foo]: /url1
\ No newline at end of file
+[foo]: /url
\ No newline at end of file
diff --git a/tests/commonmark/559-Links.html b/tests/commonmark/559-Links.html
index 4134c8f..5b0f6bc 100644
--- a/tests/commonmark/559-Links.html
+++ b/tests/commonmark/559-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+[foo]
\ No newline at end of file
diff --git a/tests/commonmark/559-Links.md b/tests/commonmark/559-Links.md
index 0979681..4946e0e 100644
--- a/tests/commonmark/559-Links.md
+++ b/tests/commonmark/559-Links.md
@@ -1,3 +1,3 @@
-[foo]()
+\[foo]
-[foo]: /url1
\ No newline at end of file
+[foo]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/56-Setext_headings.html b/tests/commonmark/56-Setext_headings.html
index e8fb827..0934dc2 100644
--- a/tests/commonmark/56-Setext_headings.html
+++ b/tests/commonmark/56-Setext_headings.html
@@ -1,2 +1 @@
-Foo
----
\ No newline at end of file
+Foo
\ No newline at end of file
diff --git a/tests/commonmark/56-Setext_headings.md b/tests/commonmark/56-Setext_headings.md
index c3ccf24..52fdd4a 100644
--- a/tests/commonmark/56-Setext_headings.md
+++ b/tests/commonmark/56-Setext_headings.md
@@ -1,2 +1,2 @@
Foo
- ---
\ No newline at end of file
+ ----
\ No newline at end of file
diff --git a/tests/commonmark/561-Links.html b/tests/commonmark/561-Links.html
index 0c8328d..9a61fdf 100644
--- a/tests/commonmark/561-Links.html
+++ b/tests/commonmark/561-Links.html
@@ -1 +1 @@
-[foo]bar
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/561-Links.md b/tests/commonmark/561-Links.md
index ba89017..6a0d814 100644
--- a/tests/commonmark/561-Links.md
+++ b/tests/commonmark/561-Links.md
@@ -1,3 +1,4 @@
-[foo][bar][baz]
+[foo][bar]
-[baz]: /url
\ No newline at end of file
+[foo]: /url1
+[bar]: /url2
\ No newline at end of file
diff --git a/tests/commonmark/562-Links.html b/tests/commonmark/562-Links.html
index b7eb7d8..e85752e 100644
--- a/tests/commonmark/562-Links.html
+++ b/tests/commonmark/562-Links.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/562-Links.md b/tests/commonmark/562-Links.md
index 794a65c..7101c72 100644
--- a/tests/commonmark/562-Links.md
+++ b/tests/commonmark/562-Links.md
@@ -1,4 +1,3 @@
-[foo][bar][baz]
+[foo][]
-[baz]: /url1
-[bar]: /url2
\ No newline at end of file
+[foo]: /url1
\ No newline at end of file
diff --git a/tests/commonmark/563-Links.html b/tests/commonmark/563-Links.html
index c1d9e46..4134c8f 100644
--- a/tests/commonmark/563-Links.html
+++ b/tests/commonmark/563-Links.html
@@ -1 +1 @@
-[foo]bar
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/563-Links.md b/tests/commonmark/563-Links.md
index 9ea2571..0979681 100644
--- a/tests/commonmark/563-Links.md
+++ b/tests/commonmark/563-Links.md
@@ -1,4 +1,3 @@
-[foo][bar][baz]
+[foo]()
-[baz]: /url1
-[foo]: /url2
\ No newline at end of file
+[foo]: /url1
\ No newline at end of file
diff --git a/tests/commonmark/564-Links.html b/tests/commonmark/564-Links.html
new file mode 100644
index 0000000..78405e7
--- /dev/null
+++ b/tests/commonmark/564-Links.html
@@ -0,0 +1 @@
+foo(not a link)
\ No newline at end of file
diff --git a/tests/commonmark/564-Links.md b/tests/commonmark/564-Links.md
new file mode 100644
index 0000000..0d9a942
--- /dev/null
+++ b/tests/commonmark/564-Links.md
@@ -0,0 +1,3 @@
+[foo](not a link)
+
+[foo]: /url1
\ No newline at end of file
diff --git a/tests/commonmark/565-Links.html b/tests/commonmark/565-Links.html
new file mode 100644
index 0000000..0c8328d
--- /dev/null
+++ b/tests/commonmark/565-Links.html
@@ -0,0 +1 @@
+[foo]bar
\ No newline at end of file
diff --git a/tests/commonmark/565-Links.md b/tests/commonmark/565-Links.md
new file mode 100644
index 0000000..ba89017
--- /dev/null
+++ b/tests/commonmark/565-Links.md
@@ -0,0 +1,3 @@
+[foo][bar][baz]
+
+[baz]: /url
\ No newline at end of file
diff --git a/tests/commonmark/566-Links.html b/tests/commonmark/566-Links.html
new file mode 100644
index 0000000..b7eb7d8
--- /dev/null
+++ b/tests/commonmark/566-Links.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/566-Links.md b/tests/commonmark/566-Links.md
new file mode 100644
index 0000000..794a65c
--- /dev/null
+++ b/tests/commonmark/566-Links.md
@@ -0,0 +1,4 @@
+[foo][bar][baz]
+
+[baz]: /url1
+[bar]: /url2
\ No newline at end of file
diff --git a/tests/commonmark/567-Links.html b/tests/commonmark/567-Links.html
new file mode 100644
index 0000000..c1d9e46
--- /dev/null
+++ b/tests/commonmark/567-Links.html
@@ -0,0 +1 @@
+[foo]bar
\ No newline at end of file
diff --git a/tests/commonmark/567-Links.md b/tests/commonmark/567-Links.md
new file mode 100644
index 0000000..9ea2571
--- /dev/null
+++ b/tests/commonmark/567-Links.md
@@ -0,0 +1,4 @@
+[foo][bar][baz]
+
+[baz]: /url1
+[foo]: /url2
\ No newline at end of file
diff --git a/tests/commonmark/568-Images.html b/tests/commonmark/568-Images.html
index ed0c872..c5760be 100644
--- a/tests/commonmark/568-Images.html
+++ b/tests/commonmark/568-Images.html
@@ -1 +1 @@
-![train & tracks foo bar](train.jpg)
\ No newline at end of file
+![title foo](/url)
\ No newline at end of file
diff --git a/tests/commonmark/568-Images.md b/tests/commonmark/568-Images.md
index 569e9b2..b091cb1 100644
--- a/tests/commonmark/568-Images.md
+++ b/tests/commonmark/568-Images.md
@@ -1,3 +1 @@
-![foo *bar*][]
-
-[foo *bar*]: train.jpg "train & tracks"
\ No newline at end of file
+![foo](/url "title")
\ No newline at end of file
diff --git a/tests/commonmark/569-Images.md b/tests/commonmark/569-Images.md
index 9968f77..698c99c 100644
--- a/tests/commonmark/569-Images.md
+++ b/tests/commonmark/569-Images.md
@@ -1,3 +1,3 @@
-![foo *bar*][foobar]
+![foo *bar*]
-[FOOBAR]: train.jpg "train & tracks"
\ No newline at end of file
+[foo *bar*]: train.jpg "train & tracks"
\ No newline at end of file
diff --git a/tests/commonmark/57-Setext_headings.html b/tests/commonmark/57-Setext_headings.html
index 07a67bf..e8fb827 100644
--- a/tests/commonmark/57-Setext_headings.html
+++ b/tests/commonmark/57-Setext_headings.html
@@ -1,4 +1,2 @@
Foo
-= =
-Foo
-
\ No newline at end of file
+---
\ No newline at end of file
diff --git a/tests/commonmark/57-Setext_headings.md b/tests/commonmark/57-Setext_headings.md
index 915aa4c..c3ccf24 100644
--- a/tests/commonmark/57-Setext_headings.md
+++ b/tests/commonmark/57-Setext_headings.md
@@ -1,5 +1,2 @@
Foo
-= =
-
-Foo
---- -
\ No newline at end of file
+ ---
\ No newline at end of file
diff --git a/tests/commonmark/570-Images.html b/tests/commonmark/570-Images.html
index b97f8e4..f60f1e2 100644
--- a/tests/commonmark/570-Images.html
+++ b/tests/commonmark/570-Images.html
@@ -1 +1 @@
-![foo](train.jpg)
\ No newline at end of file
+![foo bar](/url2)
\ No newline at end of file
diff --git a/tests/commonmark/570-Images.md b/tests/commonmark/570-Images.md
index fd8d016..96beb0b 100644
--- a/tests/commonmark/570-Images.md
+++ b/tests/commonmark/570-Images.md
@@ -1 +1 @@
-![foo](train.jpg)
\ No newline at end of file
+![foo ![bar](/url)](/url2)
\ No newline at end of file
diff --git a/tests/commonmark/571-Images.html b/tests/commonmark/571-Images.html
index f95b63e..f60f1e2 100644
--- a/tests/commonmark/571-Images.html
+++ b/tests/commonmark/571-Images.html
@@ -1 +1 @@
-My ![title foo bar](/path/to/train.jpg)
\ No newline at end of file
+![foo bar](/url2)
\ No newline at end of file
diff --git a/tests/commonmark/571-Images.md b/tests/commonmark/571-Images.md
index 3a5f2c6..ac23b41 100644
--- a/tests/commonmark/571-Images.md
+++ b/tests/commonmark/571-Images.md
@@ -1 +1 @@
-My ![foo bar](/path/to/train.jpg "title" )
\ No newline at end of file
+![foo [bar](/url)](/url2)
\ No newline at end of file
diff --git a/tests/commonmark/572-Images.html b/tests/commonmark/572-Images.html
index a79e34a..ed0c872 100644
--- a/tests/commonmark/572-Images.html
+++ b/tests/commonmark/572-Images.html
@@ -1 +1 @@
-![title foo bar](/url)
\ No newline at end of file
+![train & tracks foo bar](train.jpg)
\ No newline at end of file
diff --git a/tests/commonmark/572-Images.md b/tests/commonmark/572-Images.md
index e50b6f0..569e9b2 100644
--- a/tests/commonmark/572-Images.md
+++ b/tests/commonmark/572-Images.md
@@ -1,3 +1,3 @@
-![*foo* bar]
+![foo *bar*][]
-[*foo* bar]: /url "title"
\ No newline at end of file
+[foo *bar*]: train.jpg "train & tracks"
\ No newline at end of file
diff --git a/tests/commonmark/573-Images.html b/tests/commonmark/573-Images.html
index c3804a0..ed0c872 100644
--- a/tests/commonmark/573-Images.html
+++ b/tests/commonmark/573-Images.html
@@ -1 +1 @@
-![](/url)
\ No newline at end of file
+![train & tracks foo bar](train.jpg)
\ No newline at end of file
diff --git a/tests/commonmark/573-Images.md b/tests/commonmark/573-Images.md
index addf61b..9968f77 100644
--- a/tests/commonmark/573-Images.md
+++ b/tests/commonmark/573-Images.md
@@ -1 +1,3 @@
-![](/url)
\ No newline at end of file
+![foo *bar*][foobar]
+
+[FOOBAR]: train.jpg "train & tracks"
\ No newline at end of file
diff --git a/tests/commonmark/574-Images.html b/tests/commonmark/574-Images.html
index 8741dc8..b97f8e4 100644
--- a/tests/commonmark/574-Images.html
+++ b/tests/commonmark/574-Images.html
@@ -1 +1 @@
-![foo](/url)
\ No newline at end of file
+![foo](train.jpg)
\ No newline at end of file
diff --git a/tests/commonmark/574-Images.md b/tests/commonmark/574-Images.md
index 7c2598a..fd8d016 100644
--- a/tests/commonmark/574-Images.md
+++ b/tests/commonmark/574-Images.md
@@ -1,3 +1 @@
-![foo][bar]
-
-[bar]: /url
\ No newline at end of file
+![foo](train.jpg)
\ No newline at end of file
diff --git a/tests/commonmark/575-Images.html b/tests/commonmark/575-Images.html
index 8741dc8..f95b63e 100644
--- a/tests/commonmark/575-Images.html
+++ b/tests/commonmark/575-Images.html
@@ -1 +1 @@
-![foo](/url)
\ No newline at end of file
+My ![title foo bar](/path/to/train.jpg)
\ No newline at end of file
diff --git a/tests/commonmark/575-Images.md b/tests/commonmark/575-Images.md
index e0c1258..3a5f2c6 100644
--- a/tests/commonmark/575-Images.md
+++ b/tests/commonmark/575-Images.md
@@ -1,3 +1 @@
-![foo][bar]
-
-[BAR]: /url
\ No newline at end of file
+My ![foo bar](/path/to/train.jpg "title" )
\ No newline at end of file
diff --git a/tests/commonmark/577-Images.html b/tests/commonmark/577-Images.html
index a79e34a..c3804a0 100644
--- a/tests/commonmark/577-Images.html
+++ b/tests/commonmark/577-Images.html
@@ -1 +1 @@
-![title foo bar](/url)
\ No newline at end of file
+![](/url)
\ No newline at end of file
diff --git a/tests/commonmark/577-Images.md b/tests/commonmark/577-Images.md
index 01fc0f0..addf61b 100644
--- a/tests/commonmark/577-Images.md
+++ b/tests/commonmark/577-Images.md
@@ -1,3 +1 @@
-![*foo* bar][]
-
-[*foo* bar]: /url "title"
\ No newline at end of file
+![](/url)
\ No newline at end of file
diff --git a/tests/commonmark/578-Images.html b/tests/commonmark/578-Images.html
index 5784b0f..8741dc8 100644
--- a/tests/commonmark/578-Images.html
+++ b/tests/commonmark/578-Images.html
@@ -1 +1 @@
-![title Foo](/url)
\ No newline at end of file
+![foo](/url)
\ No newline at end of file
diff --git a/tests/commonmark/578-Images.md b/tests/commonmark/578-Images.md
index c990d4e..7c2598a 100644
--- a/tests/commonmark/578-Images.md
+++ b/tests/commonmark/578-Images.md
@@ -1,3 +1,3 @@
-![Foo][]
+![foo][bar]
-[foo]: /url "title"
\ No newline at end of file
+[bar]: /url
\ No newline at end of file
diff --git a/tests/commonmark/579-Images.html b/tests/commonmark/579-Images.html
new file mode 100644
index 0000000..8741dc8
--- /dev/null
+++ b/tests/commonmark/579-Images.html
@@ -0,0 +1 @@
+![foo](/url)
\ No newline at end of file
diff --git a/tests/commonmark/579-Images.md b/tests/commonmark/579-Images.md
new file mode 100644
index 0000000..e0c1258
--- /dev/null
+++ b/tests/commonmark/579-Images.md
@@ -0,0 +1,3 @@
+![foo][bar]
+
+[BAR]: /url
\ No newline at end of file
diff --git a/tests/commonmark/58-Setext_headings.html b/tests/commonmark/58-Setext_headings.html
index 0934dc2..07a67bf 100644
--- a/tests/commonmark/58-Setext_headings.html
+++ b/tests/commonmark/58-Setext_headings.html
@@ -1 +1,4 @@
-Foo
\ No newline at end of file
+Foo
+= =
+Foo
+
\ No newline at end of file
diff --git a/tests/commonmark/58-Setext_headings.md b/tests/commonmark/58-Setext_headings.md
index cc09e50..915aa4c 100644
--- a/tests/commonmark/58-Setext_headings.md
+++ b/tests/commonmark/58-Setext_headings.md
@@ -1,2 +1,5 @@
-Foo
------
\ No newline at end of file
+Foo
+= =
+
+Foo
+--- -
\ No newline at end of file
diff --git a/tests/commonmark/580-Images.md b/tests/commonmark/580-Images.md
index 823ae17..286662e 100644
--- a/tests/commonmark/580-Images.md
+++ b/tests/commonmark/580-Images.md
@@ -1,3 +1,3 @@
-![foo]
+![foo][]
[foo]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/581-Images.md b/tests/commonmark/581-Images.md
index e50b6f0..01fc0f0 100644
--- a/tests/commonmark/581-Images.md
+++ b/tests/commonmark/581-Images.md
@@ -1,3 +1,3 @@
-![*foo* bar]
+![*foo* bar][]
[*foo* bar]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/582-Images.html b/tests/commonmark/582-Images.html
new file mode 100644
index 0000000..5784b0f
--- /dev/null
+++ b/tests/commonmark/582-Images.html
@@ -0,0 +1 @@
+![title Foo](/url)
\ No newline at end of file
diff --git a/tests/commonmark/582-Images.md b/tests/commonmark/582-Images.md
new file mode 100644
index 0000000..c990d4e
--- /dev/null
+++ b/tests/commonmark/582-Images.md
@@ -0,0 +1,3 @@
+![Foo][]
+
+[foo]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/584-Images.html b/tests/commonmark/584-Images.html
new file mode 100644
index 0000000..c5760be
--- /dev/null
+++ b/tests/commonmark/584-Images.html
@@ -0,0 +1 @@
+![title foo](/url)
\ No newline at end of file
diff --git a/tests/commonmark/584-Images.md b/tests/commonmark/584-Images.md
new file mode 100644
index 0000000..823ae17
--- /dev/null
+++ b/tests/commonmark/584-Images.md
@@ -0,0 +1,3 @@
+![foo]
+
+[foo]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/585-Images.html b/tests/commonmark/585-Images.html
index 5d16dbd..a79e34a 100644
--- a/tests/commonmark/585-Images.html
+++ b/tests/commonmark/585-Images.html
@@ -1 +1 @@
-!foo
\ No newline at end of file
+![title foo bar](/url)
\ No newline at end of file
diff --git a/tests/commonmark/585-Images.md b/tests/commonmark/585-Images.md
index 5e6a9bb..e50b6f0 100644
--- a/tests/commonmark/585-Images.md
+++ b/tests/commonmark/585-Images.md
@@ -1,3 +1,3 @@
-\![foo]
+![*foo* bar]
-[foo]: /url "title"
\ No newline at end of file
+[*foo* bar]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/587-Images.html b/tests/commonmark/587-Images.html
new file mode 100644
index 0000000..5784b0f
--- /dev/null
+++ b/tests/commonmark/587-Images.html
@@ -0,0 +1 @@
+![title Foo](/url)
\ No newline at end of file
diff --git a/tests/commonmark/587-Images.md b/tests/commonmark/587-Images.md
new file mode 100644
index 0000000..54f8e22
--- /dev/null
+++ b/tests/commonmark/587-Images.md
@@ -0,0 +1,3 @@
+![Foo]
+
+[foo]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/589-Images.html b/tests/commonmark/589-Images.html
new file mode 100644
index 0000000..5d16dbd
--- /dev/null
+++ b/tests/commonmark/589-Images.html
@@ -0,0 +1 @@
+!foo
\ No newline at end of file
diff --git a/tests/commonmark/589-Images.md b/tests/commonmark/589-Images.md
new file mode 100644
index 0000000..5e6a9bb
--- /dev/null
+++ b/tests/commonmark/589-Images.md
@@ -0,0 +1,3 @@
+\![foo]
+
+[foo]: /url "title"
\ No newline at end of file
diff --git a/tests/commonmark/59-Setext_headings.html b/tests/commonmark/59-Setext_headings.html
index e4200ae..0934dc2 100644
--- a/tests/commonmark/59-Setext_headings.html
+++ b/tests/commonmark/59-Setext_headings.html
@@ -1 +1 @@
-Foo\
\ No newline at end of file
+Foo
\ No newline at end of file
diff --git a/tests/commonmark/59-Setext_headings.md b/tests/commonmark/59-Setext_headings.md
index eaa7809..cc09e50 100644
--- a/tests/commonmark/59-Setext_headings.md
+++ b/tests/commonmark/59-Setext_headings.md
@@ -1,2 +1,2 @@
-Foo\
-----
\ No newline at end of file
+Foo
+-----
\ No newline at end of file
diff --git a/tests/commonmark/590-Autolinks.html b/tests/commonmark/590-Autolinks.html
index 6f5b8bb..1fb4aed 100644
--- a/tests/commonmark/590-Autolinks.html
+++ b/tests/commonmark/590-Autolinks.html
@@ -1 +1 @@
-<>
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/590-Autolinks.md b/tests/commonmark/590-Autolinks.md
index 6787e48..99caf23 100644
--- a/tests/commonmark/590-Autolinks.md
+++ b/tests/commonmark/590-Autolinks.md
@@ -1 +1 @@
-<>
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/591-Autolinks.html b/tests/commonmark/591-Autolinks.html
index 4765ff5..5a0147a 100644
--- a/tests/commonmark/591-Autolinks.html
+++ b/tests/commonmark/591-Autolinks.html
@@ -1 +1 @@
-< http://foo.bar >
\ No newline at end of file
+http://foo.bar.baz/test?q=hello&id=22&boolean
\ No newline at end of file
diff --git a/tests/commonmark/591-Autolinks.md b/tests/commonmark/591-Autolinks.md
index 563fbc0..3e4c76a 100644
--- a/tests/commonmark/591-Autolinks.md
+++ b/tests/commonmark/591-Autolinks.md
@@ -1 +1 @@
-< http://foo.bar >
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/592-Autolinks.html b/tests/commonmark/592-Autolinks.html
index 2a4d7ce..2b855c7 100644
--- a/tests/commonmark/592-Autolinks.html
+++ b/tests/commonmark/592-Autolinks.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/592-Autolinks.md b/tests/commonmark/592-Autolinks.md
index ab5fc74..c748571 100644
--- a/tests/commonmark/592-Autolinks.md
+++ b/tests/commonmark/592-Autolinks.md
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/593-Autolinks.html b/tests/commonmark/593-Autolinks.html
index 2ee3b03..0388080 100644
--- a/tests/commonmark/593-Autolinks.html
+++ b/tests/commonmark/593-Autolinks.html
@@ -1 +1 @@
-<foo.bar.baz>
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/593-Autolinks.md b/tests/commonmark/593-Autolinks.md
index 98a468e..b81238f 100644
--- a/tests/commonmark/593-Autolinks.md
+++ b/tests/commonmark/593-Autolinks.md
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/596-Autolinks.html b/tests/commonmark/596-Autolinks.html
index 79d86ed..2a4d7ce 100644
--- a/tests/commonmark/596-Autolinks.html
+++ b/tests/commonmark/596-Autolinks.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/596-Autolinks.md b/tests/commonmark/596-Autolinks.md
index 97ce9c8..ab5fc74 100644
--- a/tests/commonmark/596-Autolinks.md
+++ b/tests/commonmark/596-Autolinks.md
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/598-Autolinks.html b/tests/commonmark/598-Autolinks.html
index 306763b..2812d63 100644
--- a/tests/commonmark/598-Autolinks.html
+++ b/tests/commonmark/598-Autolinks.html
@@ -1 +1 @@
-<foo+@bar.example.com>
\ No newline at end of file
+<http://foo.bar/baz bim>
\ No newline at end of file
diff --git a/tests/commonmark/598-Autolinks.md b/tests/commonmark/598-Autolinks.md
index e0ec4ac..98bb309 100644
--- a/tests/commonmark/598-Autolinks.md
+++ b/tests/commonmark/598-Autolinks.md
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/60-Setext_headings.html b/tests/commonmark/60-Setext_headings.html
index 347ef3b..e4200ae 100644
--- a/tests/commonmark/60-Setext_headings.html
+++ b/tests/commonmark/60-Setext_headings.html
@@ -1,4 +1 @@
-`Foo
-`
-<a title="a lot
-of dashes"/>
\ No newline at end of file
+Foo\
\ No newline at end of file
diff --git a/tests/commonmark/60-Setext_headings.md b/tests/commonmark/60-Setext_headings.md
index 7bd0cdb..eaa7809 100644
--- a/tests/commonmark/60-Setext_headings.md
+++ b/tests/commonmark/60-Setext_headings.md
@@ -1,7 +1,2 @@
-`Foo
-----
-`
-
-
\ No newline at end of file
+Foo\
+----
\ No newline at end of file
diff --git a/tests/commonmark/600-Autolinks.html b/tests/commonmark/600-Autolinks.html
index 4765ff5..79d86ed 100644
--- a/tests/commonmark/600-Autolinks.html
+++ b/tests/commonmark/600-Autolinks.html
@@ -1 +1 @@
-< http://foo.bar >
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/600-Autolinks.md b/tests/commonmark/600-Autolinks.md
index 563fbc0..97ce9c8 100644
--- a/tests/commonmark/600-Autolinks.md
+++ b/tests/commonmark/600-Autolinks.md
@@ -1 +1 @@
-< http://foo.bar >
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/601-Autolinks.html b/tests/commonmark/601-Autolinks.html
new file mode 100644
index 0000000..6bd018d
--- /dev/null
+++ b/tests/commonmark/601-Autolinks.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/601-Autolinks.md b/tests/commonmark/601-Autolinks.md
new file mode 100644
index 0000000..f8018ff
--- /dev/null
+++ b/tests/commonmark/601-Autolinks.md
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/602-Autolinks.html b/tests/commonmark/602-Autolinks.html
index 2ee3b03..306763b 100644
--- a/tests/commonmark/602-Autolinks.html
+++ b/tests/commonmark/602-Autolinks.html
@@ -1 +1 @@
-<foo.bar.baz>
\ No newline at end of file
+<foo+@bar.example.com>
\ No newline at end of file
diff --git a/tests/commonmark/602-Autolinks.md b/tests/commonmark/602-Autolinks.md
index 98a468e..e0ec4ac 100644
--- a/tests/commonmark/602-Autolinks.md
+++ b/tests/commonmark/602-Autolinks.md
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/603-Autolinks.html b/tests/commonmark/603-Autolinks.html
index e46d6c5..6f5b8bb 100644
--- a/tests/commonmark/603-Autolinks.html
+++ b/tests/commonmark/603-Autolinks.html
@@ -1 +1 @@
-http://example.com
\ No newline at end of file
+<>
\ No newline at end of file
diff --git a/tests/commonmark/603-Autolinks.md b/tests/commonmark/603-Autolinks.md
index b7d1664..6787e48 100644
--- a/tests/commonmark/603-Autolinks.md
+++ b/tests/commonmark/603-Autolinks.md
@@ -1 +1 @@
-http://example.com
\ No newline at end of file
+<>
\ No newline at end of file
diff --git a/tests/commonmark/604-Autolinks.html b/tests/commonmark/604-Autolinks.html
index f39926d..4765ff5 100644
--- a/tests/commonmark/604-Autolinks.html
+++ b/tests/commonmark/604-Autolinks.html
@@ -1 +1 @@
-foo@bar.example.com
\ No newline at end of file
+< http://foo.bar >
\ No newline at end of file
diff --git a/tests/commonmark/604-Autolinks.md b/tests/commonmark/604-Autolinks.md
index 1a1c7da..563fbc0 100644
--- a/tests/commonmark/604-Autolinks.md
+++ b/tests/commonmark/604-Autolinks.md
@@ -1 +1 @@
-foo@bar.example.com
\ No newline at end of file
+< http://foo.bar >
\ No newline at end of file
diff --git a/tests/commonmark/606-Autolinks.html b/tests/commonmark/606-Autolinks.html
new file mode 100644
index 0000000..2ee3b03
--- /dev/null
+++ b/tests/commonmark/606-Autolinks.html
@@ -0,0 +1 @@
+<foo.bar.baz>
\ No newline at end of file
diff --git a/tests/commonmark/606-Autolinks.md b/tests/commonmark/606-Autolinks.md
new file mode 100644
index 0000000..98a468e
--- /dev/null
+++ b/tests/commonmark/606-Autolinks.md
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/607-Autolinks.html b/tests/commonmark/607-Autolinks.html
new file mode 100644
index 0000000..e46d6c5
--- /dev/null
+++ b/tests/commonmark/607-Autolinks.html
@@ -0,0 +1 @@
+http://example.com
\ No newline at end of file
diff --git a/tests/commonmark/607-Autolinks.md b/tests/commonmark/607-Autolinks.md
new file mode 100644
index 0000000..b7d1664
--- /dev/null
+++ b/tests/commonmark/607-Autolinks.md
@@ -0,0 +1 @@
+http://example.com
\ No newline at end of file
diff --git a/tests/commonmark/608-Autolinks.html b/tests/commonmark/608-Autolinks.html
new file mode 100644
index 0000000..f39926d
--- /dev/null
+++ b/tests/commonmark/608-Autolinks.html
@@ -0,0 +1 @@
+foo@bar.example.com
\ No newline at end of file
diff --git a/tests/commonmark/608-Autolinks.md b/tests/commonmark/608-Autolinks.md
new file mode 100644
index 0000000..1a1c7da
--- /dev/null
+++ b/tests/commonmark/608-Autolinks.md
@@ -0,0 +1 @@
+foo@bar.example.com
\ No newline at end of file
diff --git a/tests/commonmark/609-Raw_HTML.html b/tests/commonmark/609-Raw_HTML.html
index cfdf840..d420fea 100644
--- a/tests/commonmark/609-Raw_HTML.html
+++ b/tests/commonmark/609-Raw_HTML.html
@@ -1 +1 @@
-Foo
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/609-Raw_HTML.md b/tests/commonmark/609-Raw_HTML.md
index 0d6e2f4..4e45854 100644
--- a/tests/commonmark/609-Raw_HTML.md
+++ b/tests/commonmark/609-Raw_HTML.md
@@ -1 +1 @@
-Foo
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/61-Setext_headings.html b/tests/commonmark/61-Setext_headings.html
new file mode 100644
index 0000000..347ef3b
--- /dev/null
+++ b/tests/commonmark/61-Setext_headings.html
@@ -0,0 +1,4 @@
+`Foo
+`
+<a title="a lot
+of dashes"/>
\ No newline at end of file
diff --git a/tests/commonmark/61-Setext_headings.md b/tests/commonmark/61-Setext_headings.md
new file mode 100644
index 0000000..7bd0cdb
--- /dev/null
+++ b/tests/commonmark/61-Setext_headings.md
@@ -0,0 +1,7 @@
+`Foo
+----
+`
+
+
\ No newline at end of file
diff --git a/tests/commonmark/610-Raw_HTML.html b/tests/commonmark/610-Raw_HTML.html
index 58856ef..4630655 100644
--- a/tests/commonmark/610-Raw_HTML.html
+++ b/tests/commonmark/610-Raw_HTML.html
@@ -1,2 +1 @@
-foo <!--> foo -->
-foo <!-- foo--->
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/610-Raw_HTML.md b/tests/commonmark/610-Raw_HTML.md
index c5e222d..29552cb 100644
--- a/tests/commonmark/610-Raw_HTML.md
+++ b/tests/commonmark/610-Raw_HTML.md
@@ -1,3 +1 @@
-foo foo -->
-
-foo
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/613-Raw_HTML.html b/tests/commonmark/613-Raw_HTML.html
index ee6e9d1..cfdf840 100644
--- a/tests/commonmark/613-Raw_HTML.html
+++ b/tests/commonmark/613-Raw_HTML.html
@@ -1,4 +1 @@
-< a><
-foo><bar/ >
-<foo bar=baz
-bim!bop />
\ No newline at end of file
+Foo
\ No newline at end of file
diff --git a/tests/commonmark/613-Raw_HTML.md b/tests/commonmark/613-Raw_HTML.md
index 97779fe..0d6e2f4 100644
--- a/tests/commonmark/613-Raw_HTML.md
+++ b/tests/commonmark/613-Raw_HTML.md
@@ -1,4 +1 @@
-< a><
-foo>
-
\ No newline at end of file
+Foo
\ No newline at end of file
diff --git a/tests/commonmark/615-Raw_HTML.html b/tests/commonmark/615-Raw_HTML.html
index cc1459c..f4919e4 100644
--- a/tests/commonmark/615-Raw_HTML.html
+++ b/tests/commonmark/615-Raw_HTML.html
@@ -1 +1 @@
-
\ No newline at end of file
+<a h*#ref="hi">
\ No newline at end of file
diff --git a/tests/commonmark/615-Raw_HTML.md b/tests/commonmark/615-Raw_HTML.md
index a999821..c2ed18e 100644
--- a/tests/commonmark/615-Raw_HTML.md
+++ b/tests/commonmark/615-Raw_HTML.md
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/616-Raw_HTML.html b/tests/commonmark/616-Raw_HTML.html
index e0daa01..6011f1b 100644
--- a/tests/commonmark/616-Raw_HTML.html
+++ b/tests/commonmark/616-Raw_HTML.html
@@ -1 +1 @@
-</a href="foo">
\ No newline at end of file
+<a href="hi'> <a href=hi'>
\ No newline at end of file
diff --git a/tests/commonmark/616-Raw_HTML.md b/tests/commonmark/616-Raw_HTML.md
index be2f95b..9bd3061 100644
--- a/tests/commonmark/616-Raw_HTML.md
+++ b/tests/commonmark/616-Raw_HTML.md
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/621-Raw_HTML.html b/tests/commonmark/621-Raw_HTML.html
new file mode 100644
index 0000000..8d2779d
--- /dev/null
+++ b/tests/commonmark/621-Raw_HTML.html
@@ -0,0 +1,2 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/621-Raw_HTML.md b/tests/commonmark/621-Raw_HTML.md
new file mode 100644
index 0000000..dc33bec
--- /dev/null
+++ b/tests/commonmark/621-Raw_HTML.md
@@ -0,0 +1,2 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/622-Raw_HTML.html b/tests/commonmark/622-Raw_HTML.html
new file mode 100644
index 0000000..a326709
--- /dev/null
+++ b/tests/commonmark/622-Raw_HTML.html
@@ -0,0 +1 @@
+foo <!-- not a comment -- two hyphens -->
\ No newline at end of file
diff --git a/tests/commonmark/622-Raw_HTML.md b/tests/commonmark/622-Raw_HTML.md
new file mode 100644
index 0000000..967ba8a
--- /dev/null
+++ b/tests/commonmark/622-Raw_HTML.md
@@ -0,0 +1 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/623-Raw_HTML.html b/tests/commonmark/623-Raw_HTML.html
index b47ad7d..58856ef 100644
--- a/tests/commonmark/623-Raw_HTML.html
+++ b/tests/commonmark/623-Raw_HTML.html
@@ -1 +1,2 @@
-
\ No newline at end of file
+foo <!--> foo -->
+foo <!-- foo--->
\ No newline at end of file
diff --git a/tests/commonmark/623-Raw_HTML.md b/tests/commonmark/623-Raw_HTML.md
index 5d08e33..c5e222d 100644
--- a/tests/commonmark/623-Raw_HTML.md
+++ b/tests/commonmark/623-Raw_HTML.md
@@ -1 +1,3 @@
-foo
\ No newline at end of file
+foo foo -->
+
+foo
\ No newline at end of file
diff --git a/tests/commonmark/627-Raw_HTML.html b/tests/commonmark/627-Raw_HTML.html
new file mode 100644
index 0000000..b47ad7d
--- /dev/null
+++ b/tests/commonmark/627-Raw_HTML.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/627-Raw_HTML.md b/tests/commonmark/627-Raw_HTML.md
new file mode 100644
index 0000000..5d08e33
--- /dev/null
+++ b/tests/commonmark/627-Raw_HTML.md
@@ -0,0 +1 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/628-Raw_HTML.html b/tests/commonmark/628-Raw_HTML.html
new file mode 100644
index 0000000..2b13be5
--- /dev/null
+++ b/tests/commonmark/628-Raw_HTML.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/628-Raw_HTML.md b/tests/commonmark/628-Raw_HTML.md
new file mode 100644
index 0000000..b75cefc
--- /dev/null
+++ b/tests/commonmark/628-Raw_HTML.md
@@ -0,0 +1 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/629-Raw_HTML.html b/tests/commonmark/629-Raw_HTML.html
new file mode 100644
index 0000000..9f4c72c
--- /dev/null
+++ b/tests/commonmark/629-Raw_HTML.html
@@ -0,0 +1 @@
+<a href=""">
\ No newline at end of file
diff --git a/tests/commonmark/629-Raw_HTML.md b/tests/commonmark/629-Raw_HTML.md
new file mode 100644
index 0000000..21e6f1b
--- /dev/null
+++ b/tests/commonmark/629-Raw_HTML.md
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/commonmark/630-Hard_line_breaks.html b/tests/commonmark/630-Hard_line_breaks.html
index 90d6646..61c6c4a 100644
--- a/tests/commonmark/630-Hard_line_breaks.html
+++ b/tests/commonmark/630-Hard_line_breaks.html
@@ -1,2 +1,2 @@
foo
-bar
\ No newline at end of file
+baz
\ No newline at end of file
diff --git a/tests/commonmark/630-Hard_line_breaks.md b/tests/commonmark/630-Hard_line_breaks.md
index 2ffe37c..c302b6f 100644
--- a/tests/commonmark/630-Hard_line_breaks.md
+++ b/tests/commonmark/630-Hard_line_breaks.md
@@ -1,2 +1,2 @@
-foo\
- bar
\ No newline at end of file
+foo
+baz
\ No newline at end of file
diff --git a/tests/commonmark/631-Hard_line_breaks.html b/tests/commonmark/631-Hard_line_breaks.html
index e5932b4..61c6c4a 100644
--- a/tests/commonmark/631-Hard_line_breaks.html
+++ b/tests/commonmark/631-Hard_line_breaks.html
@@ -1,2 +1,2 @@
-foo
-bar
\ No newline at end of file
+foo
+baz
\ No newline at end of file
diff --git a/tests/commonmark/631-Hard_line_breaks.md b/tests/commonmark/631-Hard_line_breaks.md
index 0fd7853..61889cf 100644
--- a/tests/commonmark/631-Hard_line_breaks.md
+++ b/tests/commonmark/631-Hard_line_breaks.md
@@ -1,2 +1,2 @@
-*foo
-bar*
\ No newline at end of file
+foo\
+baz
\ No newline at end of file
diff --git a/tests/commonmark/632-Hard_line_breaks.html b/tests/commonmark/632-Hard_line_breaks.html
index e5932b4..61c6c4a 100644
--- a/tests/commonmark/632-Hard_line_breaks.html
+++ b/tests/commonmark/632-Hard_line_breaks.html
@@ -1,2 +1,2 @@
-foo
-bar
\ No newline at end of file
+foo
+baz
\ No newline at end of file
diff --git a/tests/commonmark/632-Hard_line_breaks.md b/tests/commonmark/632-Hard_line_breaks.md
index 5b12e3c..901c87d 100644
--- a/tests/commonmark/632-Hard_line_breaks.md
+++ b/tests/commonmark/632-Hard_line_breaks.md
@@ -1,2 +1,2 @@
-*foo\
-bar*
\ No newline at end of file
+foo
+baz
\ No newline at end of file
diff --git a/tests/commonmark/633-Hard_line_breaks.html b/tests/commonmark/633-Hard_line_breaks.html
index cf639a9..90d6646 100644
--- a/tests/commonmark/633-Hard_line_breaks.html
+++ b/tests/commonmark/633-Hard_line_breaks.html
@@ -1 +1,2 @@
-code span
\ No newline at end of file
+foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/633-Hard_line_breaks.md b/tests/commonmark/633-Hard_line_breaks.md
index 8875e10..8444d67 100644
--- a/tests/commonmark/633-Hard_line_breaks.md
+++ b/tests/commonmark/633-Hard_line_breaks.md
@@ -1,2 +1,2 @@
-`code
-span`
\ No newline at end of file
+foo
+ bar
\ No newline at end of file
diff --git a/tests/commonmark/634-Hard_line_breaks.html b/tests/commonmark/634-Hard_line_breaks.html
index 3b9c868..90d6646 100644
--- a/tests/commonmark/634-Hard_line_breaks.html
+++ b/tests/commonmark/634-Hard_line_breaks.html
@@ -1 +1,2 @@
-code\ span
\ No newline at end of file
+foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/634-Hard_line_breaks.md b/tests/commonmark/634-Hard_line_breaks.md
index 5bb645c..2ffe37c 100644
--- a/tests/commonmark/634-Hard_line_breaks.md
+++ b/tests/commonmark/634-Hard_line_breaks.md
@@ -1,2 +1,2 @@
-`code\
-span`
\ No newline at end of file
+foo\
+ bar
\ No newline at end of file
diff --git a/tests/commonmark/635-Hard_line_breaks.html b/tests/commonmark/635-Hard_line_breaks.html
index 9bcb271..e5932b4 100644
--- a/tests/commonmark/635-Hard_line_breaks.html
+++ b/tests/commonmark/635-Hard_line_breaks.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/635-Hard_line_breaks.md b/tests/commonmark/635-Hard_line_breaks.md
index 0202345..0fd7853 100644
--- a/tests/commonmark/635-Hard_line_breaks.md
+++ b/tests/commonmark/635-Hard_line_breaks.md
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+*foo
+bar*
\ No newline at end of file
diff --git a/tests/commonmark/636-Hard_line_breaks.html b/tests/commonmark/636-Hard_line_breaks.html
index f42c1ee..e5932b4 100644
--- a/tests/commonmark/636-Hard_line_breaks.html
+++ b/tests/commonmark/636-Hard_line_breaks.html
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/636-Hard_line_breaks.md b/tests/commonmark/636-Hard_line_breaks.md
index 451beb2..5b12e3c 100644
--- a/tests/commonmark/636-Hard_line_breaks.md
+++ b/tests/commonmark/636-Hard_line_breaks.md
@@ -1,2 +1,2 @@
-
\ No newline at end of file
+*foo\
+bar*
\ No newline at end of file
diff --git a/tests/commonmark/637-Hard_line_breaks.html b/tests/commonmark/637-Hard_line_breaks.html
index 8552a7d..cf639a9 100644
--- a/tests/commonmark/637-Hard_line_breaks.html
+++ b/tests/commonmark/637-Hard_line_breaks.html
@@ -1 +1 @@
-foo\
\ No newline at end of file
+code span
\ No newline at end of file
diff --git a/tests/commonmark/637-Hard_line_breaks.md b/tests/commonmark/637-Hard_line_breaks.md
index 860501b..8875e10 100644
--- a/tests/commonmark/637-Hard_line_breaks.md
+++ b/tests/commonmark/637-Hard_line_breaks.md
@@ -1 +1,2 @@
-foo\
\ No newline at end of file
+`code
+span`
\ No newline at end of file
diff --git a/tests/commonmark/638-Hard_line_breaks.html b/tests/commonmark/638-Hard_line_breaks.html
index 998ea40..3b9c868 100644
--- a/tests/commonmark/638-Hard_line_breaks.html
+++ b/tests/commonmark/638-Hard_line_breaks.html
@@ -1 +1 @@
-foo
\ No newline at end of file
+code\ span
\ No newline at end of file
diff --git a/tests/commonmark/638-Hard_line_breaks.md b/tests/commonmark/638-Hard_line_breaks.md
index 76d546a..5bb645c 100644
--- a/tests/commonmark/638-Hard_line_breaks.md
+++ b/tests/commonmark/638-Hard_line_breaks.md
@@ -1 +1,2 @@
-foo
\ No newline at end of file
+`code\
+span`
\ No newline at end of file
diff --git a/tests/commonmark/639-Hard_line_breaks.html b/tests/commonmark/639-Hard_line_breaks.html
index 79bcf97..9bcb271 100644
--- a/tests/commonmark/639-Hard_line_breaks.html
+++ b/tests/commonmark/639-Hard_line_breaks.html
@@ -1 +1,2 @@
-foo\
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/639-Hard_line_breaks.md b/tests/commonmark/639-Hard_line_breaks.md
index c03a1a7..0202345 100644
--- a/tests/commonmark/639-Hard_line_breaks.md
+++ b/tests/commonmark/639-Hard_line_breaks.md
@@ -1 +1,2 @@
-### foo\
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/640-Hard_line_breaks.html b/tests/commonmark/640-Hard_line_breaks.html
index 2349504..f42c1ee 100644
--- a/tests/commonmark/640-Hard_line_breaks.html
+++ b/tests/commonmark/640-Hard_line_breaks.html
@@ -1 +1,2 @@
-foo
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/640-Hard_line_breaks.md b/tests/commonmark/640-Hard_line_breaks.md
index feafefb..451beb2 100644
--- a/tests/commonmark/640-Hard_line_breaks.md
+++ b/tests/commonmark/640-Hard_line_breaks.md
@@ -1 +1,2 @@
-### foo
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/641-Hard_line_breaks.html b/tests/commonmark/641-Hard_line_breaks.html
new file mode 100644
index 0000000..8552a7d
--- /dev/null
+++ b/tests/commonmark/641-Hard_line_breaks.html
@@ -0,0 +1 @@
+foo\
\ No newline at end of file
diff --git a/tests/commonmark/641-Hard_line_breaks.md b/tests/commonmark/641-Hard_line_breaks.md
new file mode 100644
index 0000000..860501b
--- /dev/null
+++ b/tests/commonmark/641-Hard_line_breaks.md
@@ -0,0 +1 @@
+foo\
\ No newline at end of file
diff --git a/tests/commonmark/642-Hard_line_breaks.html b/tests/commonmark/642-Hard_line_breaks.html
new file mode 100644
index 0000000..998ea40
--- /dev/null
+++ b/tests/commonmark/642-Hard_line_breaks.html
@@ -0,0 +1 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/642-Hard_line_breaks.md b/tests/commonmark/642-Hard_line_breaks.md
new file mode 100644
index 0000000..76d546a
--- /dev/null
+++ b/tests/commonmark/642-Hard_line_breaks.md
@@ -0,0 +1 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/643-Hard_line_breaks.html b/tests/commonmark/643-Hard_line_breaks.html
new file mode 100644
index 0000000..79bcf97
--- /dev/null
+++ b/tests/commonmark/643-Hard_line_breaks.html
@@ -0,0 +1 @@
+foo\
\ No newline at end of file
diff --git a/tests/commonmark/643-Hard_line_breaks.md b/tests/commonmark/643-Hard_line_breaks.md
new file mode 100644
index 0000000..c03a1a7
--- /dev/null
+++ b/tests/commonmark/643-Hard_line_breaks.md
@@ -0,0 +1 @@
+### foo\
\ No newline at end of file
diff --git a/tests/commonmark/644-Hard_line_breaks.html b/tests/commonmark/644-Hard_line_breaks.html
new file mode 100644
index 0000000..2349504
--- /dev/null
+++ b/tests/commonmark/644-Hard_line_breaks.html
@@ -0,0 +1 @@
+foo
\ No newline at end of file
diff --git a/tests/commonmark/644-Hard_line_breaks.md b/tests/commonmark/644-Hard_line_breaks.md
new file mode 100644
index 0000000..feafefb
--- /dev/null
+++ b/tests/commonmark/644-Hard_line_breaks.md
@@ -0,0 +1 @@
+### foo
\ No newline at end of file
diff --git a/tests/commonmark/645-Soft_line_breaks.html b/tests/commonmark/645-Soft_line_breaks.html
new file mode 100644
index 0000000..f55ff14
--- /dev/null
+++ b/tests/commonmark/645-Soft_line_breaks.html
@@ -0,0 +1,2 @@
+foo
+baz
\ No newline at end of file
diff --git a/tests/commonmark/645-Soft_line_breaks.md b/tests/commonmark/645-Soft_line_breaks.md
new file mode 100644
index 0000000..000c335
--- /dev/null
+++ b/tests/commonmark/645-Soft_line_breaks.md
@@ -0,0 +1,2 @@
+foo
+baz
\ No newline at end of file
diff --git a/tests/commonmark/646-Soft_line_breaks.html b/tests/commonmark/646-Soft_line_breaks.html
new file mode 100644
index 0000000..f55ff14
--- /dev/null
+++ b/tests/commonmark/646-Soft_line_breaks.html
@@ -0,0 +1,2 @@
+foo
+baz
\ No newline at end of file
diff --git a/tests/commonmark/646-Soft_line_breaks.md b/tests/commonmark/646-Soft_line_breaks.md
new file mode 100644
index 0000000..27acaef
--- /dev/null
+++ b/tests/commonmark/646-Soft_line_breaks.md
@@ -0,0 +1,2 @@
+foo
+ baz
\ No newline at end of file
diff --git a/tests/commonmark/647-Textual_content.html b/tests/commonmark/647-Textual_content.html
new file mode 100644
index 0000000..8d014a5
--- /dev/null
+++ b/tests/commonmark/647-Textual_content.html
@@ -0,0 +1 @@
+hello $.;'there
\ No newline at end of file
diff --git a/tests/commonmark/647-Textual_content.md b/tests/commonmark/647-Textual_content.md
new file mode 100644
index 0000000..7f69759
--- /dev/null
+++ b/tests/commonmark/647-Textual_content.md
@@ -0,0 +1 @@
+hello $.;'there
\ No newline at end of file
diff --git a/tests/commonmark/648-Textual_content.html b/tests/commonmark/648-Textual_content.html
new file mode 100644
index 0000000..c507a9f
--- /dev/null
+++ b/tests/commonmark/648-Textual_content.html
@@ -0,0 +1 @@
+Foo χρῆν
\ No newline at end of file
diff --git a/tests/commonmark/648-Textual_content.md b/tests/commonmark/648-Textual_content.md
new file mode 100644
index 0000000..bab0869
--- /dev/null
+++ b/tests/commonmark/648-Textual_content.md
@@ -0,0 +1 @@
+Foo χρῆν
\ No newline at end of file
diff --git a/tests/commonmark/649-Textual_content.html b/tests/commonmark/649-Textual_content.html
new file mode 100644
index 0000000..7fd63f5
--- /dev/null
+++ b/tests/commonmark/649-Textual_content.html
@@ -0,0 +1 @@
+Multiple spaces
\ No newline at end of file
diff --git a/tests/commonmark/649-Textual_content.md b/tests/commonmark/649-Textual_content.md
new file mode 100644
index 0000000..ec364d2
--- /dev/null
+++ b/tests/commonmark/649-Textual_content.md
@@ -0,0 +1 @@
+Multiple spaces
\ No newline at end of file
diff --git a/tests/commonmark/65-Setext_headings.html b/tests/commonmark/65-Setext_headings.html
index 4341c8a..160eebf 100644
--- a/tests/commonmark/65-Setext_headings.html
+++ b/tests/commonmark/65-Setext_headings.html
@@ -1,4 +1,2 @@
-
-Foo
-Bar
-Baz
\ No newline at end of file
+Foo
+Bar
\ No newline at end of file
diff --git a/tests/commonmark/65-Setext_headings.md b/tests/commonmark/65-Setext_headings.md
index c94913e..2c1ce4e 100644
--- a/tests/commonmark/65-Setext_headings.md
+++ b/tests/commonmark/65-Setext_headings.md
@@ -1,6 +1,3 @@
----
Foo
----
Bar
----
-Baz
\ No newline at end of file
+---
\ No newline at end of file
diff --git a/tests/commonmark/66-Setext_headings.html b/tests/commonmark/66-Setext_headings.html
index 5dcefab..4341c8a 100644
--- a/tests/commonmark/66-Setext_headings.html
+++ b/tests/commonmark/66-Setext_headings.html
@@ -1 +1,4 @@
-====
\ No newline at end of file
+
+Foo
+Bar
+Baz
\ No newline at end of file
diff --git a/tests/commonmark/66-Setext_headings.md b/tests/commonmark/66-Setext_headings.md
index dce5313..c94913e 100644
--- a/tests/commonmark/66-Setext_headings.md
+++ b/tests/commonmark/66-Setext_headings.md
@@ -1,2 +1,6 @@
-
-====
\ No newline at end of file
+---
+Foo
+---
+Bar
+---
+Baz
\ No newline at end of file
diff --git a/tests/commonmark/67-Setext_headings.html b/tests/commonmark/67-Setext_headings.html
index ba26476..5dcefab 100644
--- a/tests/commonmark/67-Setext_headings.html
+++ b/tests/commonmark/67-Setext_headings.html
@@ -1,2 +1 @@
-
-
\ No newline at end of file
+====
\ No newline at end of file
diff --git a/tests/commonmark/67-Setext_headings.md b/tests/commonmark/67-Setext_headings.md
index a49ba48..dce5313 100644
--- a/tests/commonmark/67-Setext_headings.md
+++ b/tests/commonmark/67-Setext_headings.md
@@ -1,2 +1,2 @@
----
----
\ No newline at end of file
+
+====
\ No newline at end of file
diff --git a/tests/commonmark/68-Setext_headings.html b/tests/commonmark/68-Setext_headings.html
new file mode 100644
index 0000000..ba26476
--- /dev/null
+++ b/tests/commonmark/68-Setext_headings.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/tests/commonmark/68-Setext_headings.md b/tests/commonmark/68-Setext_headings.md
new file mode 100644
index 0000000..a49ba48
--- /dev/null
+++ b/tests/commonmark/68-Setext_headings.md
@@ -0,0 +1,2 @@
+---
+---
\ No newline at end of file
diff --git a/tests/commonmark/70-Setext_headings.html b/tests/commonmark/70-Setext_headings.html
new file mode 100644
index 0000000..856a873
--- /dev/null
+++ b/tests/commonmark/70-Setext_headings.html
@@ -0,0 +1,3 @@
+foo
+
+
\ No newline at end of file
diff --git a/tests/commonmark/70-Setext_headings.md b/tests/commonmark/70-Setext_headings.md
new file mode 100644
index 0000000..126568b
--- /dev/null
+++ b/tests/commonmark/70-Setext_headings.md
@@ -0,0 +1,2 @@
+ foo
+---
\ No newline at end of file
diff --git a/tests/commonmark/72-Setext_headings.html b/tests/commonmark/72-Setext_headings.html
index 94749e5..7153ce4 100644
--- a/tests/commonmark/72-Setext_headings.html
+++ b/tests/commonmark/72-Setext_headings.html
@@ -1,3 +1 @@
-Foo
-bar
-baz
\ No newline at end of file
+> foo
\ No newline at end of file
diff --git a/tests/commonmark/72-Setext_headings.md b/tests/commonmark/72-Setext_headings.md
index 249859b..4efa3cf 100644
--- a/tests/commonmark/72-Setext_headings.md
+++ b/tests/commonmark/72-Setext_headings.md
@@ -1,5 +1,2 @@
-Foo
-
-bar
----
-baz
\ No newline at end of file
+\> foo
+------
\ No newline at end of file
diff --git a/tests/commonmark/73-Setext_headings.html b/tests/commonmark/73-Setext_headings.html
index b4be4aa..94749e5 100644
--- a/tests/commonmark/73-Setext_headings.html
+++ b/tests/commonmark/73-Setext_headings.html
@@ -1,4 +1,3 @@
-Foo
-bar
-
+Foo
+bar
baz
\ No newline at end of file
diff --git a/tests/commonmark/73-Setext_headings.md b/tests/commonmark/73-Setext_headings.md
index c3cb59b..249859b 100644
--- a/tests/commonmark/73-Setext_headings.md
+++ b/tests/commonmark/73-Setext_headings.md
@@ -1,6 +1,5 @@
Foo
+
bar
-
---
-
baz
\ No newline at end of file
diff --git a/tests/commonmark/74-Setext_headings.md b/tests/commonmark/74-Setext_headings.md
index 4581a59..c3cb59b 100644
--- a/tests/commonmark/74-Setext_headings.md
+++ b/tests/commonmark/74-Setext_headings.md
@@ -1,4 +1,6 @@
Foo
bar
-* * *
+
+---
+
baz
\ No newline at end of file
diff --git a/tests/commonmark/75-Setext_headings.html b/tests/commonmark/75-Setext_headings.html
index d4916fc..b4be4aa 100644
--- a/tests/commonmark/75-Setext_headings.html
+++ b/tests/commonmark/75-Setext_headings.html
@@ -1,4 +1,4 @@
Foo
-bar
----
-baz
\ No newline at end of file
+bar
+
+baz
\ No newline at end of file
diff --git a/tests/commonmark/75-Setext_headings.md b/tests/commonmark/75-Setext_headings.md
index 374a856..4581a59 100644
--- a/tests/commonmark/75-Setext_headings.md
+++ b/tests/commonmark/75-Setext_headings.md
@@ -1,4 +1,4 @@
Foo
bar
-\---
+* * *
baz
\ No newline at end of file
diff --git a/tests/commonmark/76-Setext_headings.html b/tests/commonmark/76-Setext_headings.html
new file mode 100644
index 0000000..d4916fc
--- /dev/null
+++ b/tests/commonmark/76-Setext_headings.html
@@ -0,0 +1,4 @@
+Foo
+bar
+---
+baz
\ No newline at end of file
diff --git a/tests/commonmark/76-Setext_headings.md b/tests/commonmark/76-Setext_headings.md
new file mode 100644
index 0000000..374a856
--- /dev/null
+++ b/tests/commonmark/76-Setext_headings.md
@@ -0,0 +1,4 @@
+Foo
+bar
+\---
+baz
\ No newline at end of file
diff --git a/tests/commonmark/77-Indented_code_blocks.html b/tests/commonmark/77-Indented_code_blocks.html
index c117426..86c09d6 100644
--- a/tests/commonmark/77-Indented_code_blocks.html
+++ b/tests/commonmark/77-Indented_code_blocks.html
@@ -1,6 +1,3 @@
-
--
-
foo
-bar
-
-
\ No newline at end of file
+a simple
+ indented code block
+
\ No newline at end of file
diff --git a/tests/commonmark/77-Indented_code_blocks.md b/tests/commonmark/77-Indented_code_blocks.md
index b6d4060..4deaa8b 100644
--- a/tests/commonmark/77-Indented_code_blocks.md
+++ b/tests/commonmark/77-Indented_code_blocks.md
@@ -1,3 +1,2 @@
- - foo
-
- bar
\ No newline at end of file
+ a simple
+ indented code block
\ No newline at end of file
diff --git a/tests/commonmark/78-Indented_code_blocks.html b/tests/commonmark/78-Indented_code_blocks.html
index a26fa6d..c117426 100644
--- a/tests/commonmark/78-Indented_code_blocks.html
+++ b/tests/commonmark/78-Indented_code_blocks.html
@@ -1,8 +1,6 @@
-
+
-
foo
-
-- bar
-
+bar
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/78-Indented_code_blocks.md b/tests/commonmark/78-Indented_code_blocks.md
index 2e7f002..b6d4060 100644
--- a/tests/commonmark/78-Indented_code_blocks.md
+++ b/tests/commonmark/78-Indented_code_blocks.md
@@ -1,3 +1,3 @@
-1. foo
+ - foo
- - bar
\ No newline at end of file
+ bar
\ No newline at end of file
diff --git a/tests/commonmark/79-Indented_code_blocks.html b/tests/commonmark/79-Indented_code_blocks.html
index c323416..a26fa6d 100644
--- a/tests/commonmark/79-Indented_code_blocks.html
+++ b/tests/commonmark/79-Indented_code_blocks.html
@@ -1,5 +1,8 @@
-<a/>
-*hi*
-
-- one
-
\ No newline at end of file
+
+-
+
foo
+
+- bar
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/79-Indented_code_blocks.md b/tests/commonmark/79-Indented_code_blocks.md
index 77bcc91..2e7f002 100644
--- a/tests/commonmark/79-Indented_code_blocks.md
+++ b/tests/commonmark/79-Indented_code_blocks.md
@@ -1,4 +1,3 @@
-
- *hi*
+1. foo
- - one
\ No newline at end of file
+ - bar
\ No newline at end of file
diff --git a/tests/commonmark/80-Indented_code_blocks.html b/tests/commonmark/80-Indented_code_blocks.html
index 80a1e18..c323416 100644
--- a/tests/commonmark/80-Indented_code_blocks.html
+++ b/tests/commonmark/80-Indented_code_blocks.html
@@ -1,8 +1,5 @@
-chunk1
+<a/>
+*hi*
-chunk2
-
-
-
-chunk3
+- one
\ No newline at end of file
diff --git a/tests/commonmark/80-Indented_code_blocks.md b/tests/commonmark/80-Indented_code_blocks.md
index 104b5d1..77bcc91 100644
--- a/tests/commonmark/80-Indented_code_blocks.md
+++ b/tests/commonmark/80-Indented_code_blocks.md
@@ -1,7 +1,4 @@
- chunk1
+
+ *hi*
- chunk2
-
-
-
- chunk3
\ No newline at end of file
+ - one
\ No newline at end of file
diff --git a/tests/commonmark/81-Indented_code_blocks.html b/tests/commonmark/81-Indented_code_blocks.html
index cb1d989..80a1e18 100644
--- a/tests/commonmark/81-Indented_code_blocks.html
+++ b/tests/commonmark/81-Indented_code_blocks.html
@@ -1,4 +1,8 @@
chunk1
-
- chunk2
+
+chunk2
+
+
+
+chunk3
\ No newline at end of file
diff --git a/tests/commonmark/81-Indented_code_blocks.md b/tests/commonmark/81-Indented_code_blocks.md
index 7c8395d..104b5d1 100644
--- a/tests/commonmark/81-Indented_code_blocks.md
+++ b/tests/commonmark/81-Indented_code_blocks.md
@@ -1,3 +1,7 @@
chunk1
-
- chunk2
\ No newline at end of file
+
+ chunk2
+
+
+
+ chunk3
\ No newline at end of file
diff --git a/tests/commonmark/82-Indented_code_blocks.html b/tests/commonmark/82-Indented_code_blocks.html
index 3effe0f..cb1d989 100644
--- a/tests/commonmark/82-Indented_code_blocks.html
+++ b/tests/commonmark/82-Indented_code_blocks.html
@@ -1,2 +1,4 @@
-Foo
-bar
\ No newline at end of file
+chunk1
+
+ chunk2
+
\ No newline at end of file
diff --git a/tests/commonmark/82-Indented_code_blocks.md b/tests/commonmark/82-Indented_code_blocks.md
index 030bb78..7c8395d 100644
--- a/tests/commonmark/82-Indented_code_blocks.md
+++ b/tests/commonmark/82-Indented_code_blocks.md
@@ -1,2 +1,3 @@
-Foo
- bar
+ chunk1
+
+ chunk2
\ No newline at end of file
diff --git a/tests/commonmark/83-Indented_code_blocks.html b/tests/commonmark/83-Indented_code_blocks.html
index 0bafc69..3effe0f 100644
--- a/tests/commonmark/83-Indented_code_blocks.html
+++ b/tests/commonmark/83-Indented_code_blocks.html
@@ -1,3 +1,2 @@
-foo
-
-bar
\ No newline at end of file
+Foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/83-Indented_code_blocks.md b/tests/commonmark/83-Indented_code_blocks.md
index 0a4d905..030bb78 100644
--- a/tests/commonmark/83-Indented_code_blocks.md
+++ b/tests/commonmark/83-Indented_code_blocks.md
@@ -1,2 +1,2 @@
- foo
-bar
\ No newline at end of file
+Foo
+ bar
diff --git a/tests/commonmark/84-Indented_code_blocks.html b/tests/commonmark/84-Indented_code_blocks.html
index ac80a6d..0bafc69 100644
--- a/tests/commonmark/84-Indented_code_blocks.html
+++ b/tests/commonmark/84-Indented_code_blocks.html
@@ -1,7 +1,3 @@
-Heading
foo
-Heading
-foo
-
-
\ No newline at end of file
+bar
\ No newline at end of file
diff --git a/tests/commonmark/84-Indented_code_blocks.md b/tests/commonmark/84-Indented_code_blocks.md
index 31c0f8c..0a4d905 100644
--- a/tests/commonmark/84-Indented_code_blocks.md
+++ b/tests/commonmark/84-Indented_code_blocks.md
@@ -1,6 +1,2 @@
-# Heading
foo
-Heading
-------
- foo
-----
\ No newline at end of file
+bar
\ No newline at end of file
diff --git a/tests/commonmark/85-Indented_code_blocks.html b/tests/commonmark/85-Indented_code_blocks.html
index 58d762c..ac80a6d 100644
--- a/tests/commonmark/85-Indented_code_blocks.html
+++ b/tests/commonmark/85-Indented_code_blocks.html
@@ -1,3 +1,7 @@
- foo
-bar
-
\ No newline at end of file
+Heading
+foo
+
+Heading
+foo
+
+
\ No newline at end of file
diff --git a/tests/commonmark/85-Indented_code_blocks.md b/tests/commonmark/85-Indented_code_blocks.md
index 5a3e9eb..31c0f8c 100644
--- a/tests/commonmark/85-Indented_code_blocks.md
+++ b/tests/commonmark/85-Indented_code_blocks.md
@@ -1,2 +1,6 @@
- foo
- bar
\ No newline at end of file
+# Heading
+ foo
+Heading
+------
+ foo
+----
\ No newline at end of file
diff --git a/tests/commonmark/86-Indented_code_blocks.html b/tests/commonmark/86-Indented_code_blocks.html
index d8cb1fa..58d762c 100644
--- a/tests/commonmark/86-Indented_code_blocks.html
+++ b/tests/commonmark/86-Indented_code_blocks.html
@@ -1,2 +1,3 @@
-foo
+ foo
+bar
\ No newline at end of file
diff --git a/tests/commonmark/86-Indented_code_blocks.md b/tests/commonmark/86-Indented_code_blocks.md
index 1615a8b..5a3e9eb 100644
--- a/tests/commonmark/86-Indented_code_blocks.md
+++ b/tests/commonmark/86-Indented_code_blocks.md
@@ -1,4 +1,2 @@
-
-
- foo
-
+ foo
+ bar
\ No newline at end of file
diff --git a/tests/commonmark/87-Indented_code_blocks.html b/tests/commonmark/87-Indented_code_blocks.html
index 5f9841a..d8cb1fa 100644
--- a/tests/commonmark/87-Indented_code_blocks.html
+++ b/tests/commonmark/87-Indented_code_blocks.html
@@ -1,2 +1,2 @@
-foo
+foo
\ No newline at end of file
diff --git a/tests/commonmark/87-Indented_code_blocks.md b/tests/commonmark/87-Indented_code_blocks.md
index 646fb29..1615a8b 100644
--- a/tests/commonmark/87-Indented_code_blocks.md
+++ b/tests/commonmark/87-Indented_code_blocks.md
@@ -1 +1,4 @@
- foo
\ No newline at end of file
+
+
+ foo
+
diff --git a/tests/commonmark/88-Indented_code_blocks.html b/tests/commonmark/88-Indented_code_blocks.html
new file mode 100644
index 0000000..5f9841a
--- /dev/null
+++ b/tests/commonmark/88-Indented_code_blocks.html
@@ -0,0 +1,2 @@
+foo
+
\ No newline at end of file
diff --git a/tests/commonmark/88-Indented_code_blocks.md b/tests/commonmark/88-Indented_code_blocks.md
new file mode 100644
index 0000000..646fb29
--- /dev/null
+++ b/tests/commonmark/88-Indented_code_blocks.md
@@ -0,0 +1 @@
+ foo
\ No newline at end of file
diff --git a/tests/commonmark/89-Fenced_code_blocks.md b/tests/commonmark/89-Fenced_code_blocks.md
index 71796b8..5bfac27 100644
--- a/tests/commonmark/89-Fenced_code_blocks.md
+++ b/tests/commonmark/89-Fenced_code_blocks.md
@@ -1,4 +1,4 @@
-~~~
+```
<
>
-~~~
\ No newline at end of file
+```
\ No newline at end of file
diff --git a/tests/commonmark/90-Fenced_code_blocks.html b/tests/commonmark/90-Fenced_code_blocks.html
index 4a52275..1b49269 100644
--- a/tests/commonmark/90-Fenced_code_blocks.html
+++ b/tests/commonmark/90-Fenced_code_blocks.html
@@ -1 +1,3 @@
-foo
\ No newline at end of file
+<
+ >
+
\ No newline at end of file
diff --git a/tests/commonmark/90-Fenced_code_blocks.md b/tests/commonmark/90-Fenced_code_blocks.md
index c272abf..71796b8 100644
--- a/tests/commonmark/90-Fenced_code_blocks.md
+++ b/tests/commonmark/90-Fenced_code_blocks.md
@@ -1,3 +1,4 @@
-``
-foo
-``
\ No newline at end of file
+~~~
+<
+ >
+~~~
\ No newline at end of file
diff --git a/tests/commonmark/91-Fenced_code_blocks.html b/tests/commonmark/91-Fenced_code_blocks.html
index c72c2e9..4a52275 100644
--- a/tests/commonmark/91-Fenced_code_blocks.html
+++ b/tests/commonmark/91-Fenced_code_blocks.html
@@ -1,3 +1 @@
-aaa
-~~~
-
\ No newline at end of file
+foo
\ No newline at end of file
diff --git a/tests/commonmark/91-Fenced_code_blocks.md b/tests/commonmark/91-Fenced_code_blocks.md
index 7c9f6c8..c272abf 100644
--- a/tests/commonmark/91-Fenced_code_blocks.md
+++ b/tests/commonmark/91-Fenced_code_blocks.md
@@ -1,4 +1,3 @@
-```
-aaa
-~~~
-```
\ No newline at end of file
+``
+foo
+``
\ No newline at end of file
diff --git a/tests/commonmark/92-Fenced_code_blocks.html b/tests/commonmark/92-Fenced_code_blocks.html
index 0c15179..c72c2e9 100644
--- a/tests/commonmark/92-Fenced_code_blocks.html
+++ b/tests/commonmark/92-Fenced_code_blocks.html
@@ -1,3 +1,3 @@
aaa
-```
+~~~
\ No newline at end of file
diff --git a/tests/commonmark/92-Fenced_code_blocks.md b/tests/commonmark/92-Fenced_code_blocks.md
index 1978be7..7c9f6c8 100644
--- a/tests/commonmark/92-Fenced_code_blocks.md
+++ b/tests/commonmark/92-Fenced_code_blocks.md
@@ -1,4 +1,4 @@
-~~~
-aaa
```
-~~~
\ No newline at end of file
+aaa
+~~~
+```
\ No newline at end of file
diff --git a/tests/commonmark/93-Fenced_code_blocks.md b/tests/commonmark/93-Fenced_code_blocks.md
index 8fcfb61..1978be7 100644
--- a/tests/commonmark/93-Fenced_code_blocks.md
+++ b/tests/commonmark/93-Fenced_code_blocks.md
@@ -1,4 +1,4 @@
-````
+~~~
aaa
```
-``````
\ No newline at end of file
+~~~
\ No newline at end of file
diff --git a/tests/commonmark/94-Fenced_code_blocks.html b/tests/commonmark/94-Fenced_code_blocks.html
index c72c2e9..0c15179 100644
--- a/tests/commonmark/94-Fenced_code_blocks.html
+++ b/tests/commonmark/94-Fenced_code_blocks.html
@@ -1,3 +1,3 @@
aaa
-~~~
+```
\ No newline at end of file
diff --git a/tests/commonmark/94-Fenced_code_blocks.md b/tests/commonmark/94-Fenced_code_blocks.md
index 771f26d..8fcfb61 100644
--- a/tests/commonmark/94-Fenced_code_blocks.md
+++ b/tests/commonmark/94-Fenced_code_blocks.md
@@ -1,4 +1,4 @@
-~~~~
+````
aaa
-~~~
-~~~~
\ No newline at end of file
+```
+``````
\ No newline at end of file
diff --git a/tests/commonmark/95-Fenced_code_blocks.html b/tests/commonmark/95-Fenced_code_blocks.html
index def7f2a..c72c2e9 100644
--- a/tests/commonmark/95-Fenced_code_blocks.html
+++ b/tests/commonmark/95-Fenced_code_blocks.html
@@ -1 +1,3 @@
-
\ No newline at end of file
+aaa
+~~~
+
\ No newline at end of file
diff --git a/tests/commonmark/95-Fenced_code_blocks.md b/tests/commonmark/95-Fenced_code_blocks.md
index 4f1408d..771f26d 100644
--- a/tests/commonmark/95-Fenced_code_blocks.md
+++ b/tests/commonmark/95-Fenced_code_blocks.md
@@ -1 +1,4 @@
-```
\ No newline at end of file
+~~~~
+aaa
+~~~
+~~~~
\ No newline at end of file
diff --git a/tests/commonmark/96-Fenced_code_blocks.html b/tests/commonmark/96-Fenced_code_blocks.html
index af46fb3..def7f2a 100644
--- a/tests/commonmark/96-Fenced_code_blocks.html
+++ b/tests/commonmark/96-Fenced_code_blocks.html
@@ -1,4 +1 @@
-
-```
-aaa
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/commonmark/96-Fenced_code_blocks.md b/tests/commonmark/96-Fenced_code_blocks.md
index f904121..4f1408d 100644
--- a/tests/commonmark/96-Fenced_code_blocks.md
+++ b/tests/commonmark/96-Fenced_code_blocks.md
@@ -1,4 +1 @@
-`````
-
-```
-aaa
\ No newline at end of file
+```
\ No newline at end of file
diff --git a/tests/commonmark/97-Fenced_code_blocks.html b/tests/commonmark/97-Fenced_code_blocks.html
index 6307015..af46fb3 100644
--- a/tests/commonmark/97-Fenced_code_blocks.html
+++ b/tests/commonmark/97-Fenced_code_blocks.html
@@ -1,5 +1,4 @@
-
-aaa
-
-
-bbb
\ No newline at end of file
+
+```
+aaa
+
\ No newline at end of file
diff --git a/tests/commonmark/97-Fenced_code_blocks.md b/tests/commonmark/97-Fenced_code_blocks.md
index c24a0ce..f904121 100644
--- a/tests/commonmark/97-Fenced_code_blocks.md
+++ b/tests/commonmark/97-Fenced_code_blocks.md
@@ -1,4 +1,4 @@
-> ```
-> aaa
+`````
-bbb
\ No newline at end of file
+```
+aaa
\ No newline at end of file
diff --git a/tests/commonmark/98-Fenced_code_blocks.html b/tests/commonmark/98-Fenced_code_blocks.html
index 8b957e4..6307015 100644
--- a/tests/commonmark/98-Fenced_code_blocks.html
+++ b/tests/commonmark/98-Fenced_code_blocks.html
@@ -1,3 +1,5 @@
-
-
-
\ No newline at end of file
+
+aaa
+
+
+bbb
\ No newline at end of file
diff --git a/tests/commonmark/98-Fenced_code_blocks.md b/tests/commonmark/98-Fenced_code_blocks.md
index ac1b221..c24a0ce 100644
--- a/tests/commonmark/98-Fenced_code_blocks.md
+++ b/tests/commonmark/98-Fenced_code_blocks.md
@@ -1,4 +1,4 @@
-```
+> ```
+> aaa
-
-```
\ No newline at end of file
+bbb
\ No newline at end of file
diff --git a/tests/commonmark/99-Fenced_code_blocks.html b/tests/commonmark/99-Fenced_code_blocks.html
index def7f2a..8b957e4 100644
--- a/tests/commonmark/99-Fenced_code_blocks.html
+++ b/tests/commonmark/99-Fenced_code_blocks.html
@@ -1 +1,3 @@
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/tests/commonmark/99-Fenced_code_blocks.md b/tests/commonmark/99-Fenced_code_blocks.md
index 3c20575..ac1b221 100644
--- a/tests/commonmark/99-Fenced_code_blocks.md
+++ b/tests/commonmark/99-Fenced_code_blocks.md
@@ -1,2 +1,4 @@
```
+
+
```
\ No newline at end of file