summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-09-12 15:40:46 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2016-09-12 15:40:46 +0200
commitfae6a253d2f0c79eb34b0bf83ca484c93484f5a5 (patch)
treec343551cf46e09e873a320532806bb25bd1ca4f4 /test
parentdc2d831c7d256ea98d3ad4d6b738525618aab99d (diff)
Fixed h2..h6 HTML blocks (jgm/CommonMark#430).
Added regression test.
Diffstat (limited to 'test')
-rw-r--r--test/regression.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/regression.txt b/test/regression.txt
index c8a1057..54872da 100644
--- a/test/regression.txt
+++ b/test/regression.txt
@@ -32,3 +32,27 @@ Repeatedly solving
<li>how techniques</li>
</ul>
````````````````````````````````
+
+Issue jgm/CommonMark#430: h2..h6 not recognized as block tags.
+
+```````````````````````````````` example
+<h1>lorem</h1>
+
+<h2>lorem</h2>
+
+<h3>lorem</h3>
+
+<h4>lorem</h4>
+
+<h5>lorem</h5>
+
+<h6>lorem</h6>
+.
+<h1>lorem</h1>
+<h2>lorem</h2>
+<h3>lorem</h3>
+<h4>lorem</h4>
+<h5>lorem</h5>
+<h6>lorem</h6>
+````````````````````````````````
+