aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/html.html6
-rw-r--r--tests/misc/html.txt9
2 files changed, 14 insertions, 1 deletions
diff --git a/tests/misc/html.html b/tests/misc/html.html
index c4bad4f..dd4e4e8 100644
--- a/tests/misc/html.html
+++ b/tests/misc/html.html
@@ -11,4 +11,8 @@ Html with various attributes.
<p>And of course <script>blah</script>.</p>
<p><a href="script&gt;stuff&lt;/script">this <script>link</a></p>
-<p>Some funky <x\]> inline stuff with markdown escaping syntax.</p> \ No newline at end of file
+<p>Some funky <x\]> inline stuff with markdown escaping syntax.</p>
+<p>And now a line with only an opening bracket:</p>
+<p>&lt;</p>
+<p>And one with other stuff but no closing bracket:</p>
+<p>&lt; foo</p> \ No newline at end of file
diff --git a/tests/misc/html.txt b/tests/misc/html.txt
index b04b740..b51d30b 100644
--- a/tests/misc/html.txt
+++ b/tests/misc/html.txt
@@ -16,3 +16,12 @@ And of course <script>blah</script>.
[this <script>link](<script>stuff</script>)
Some funky <x\]> inline stuff with markdown escaping syntax.
+
+And now a line with only an opening bracket:
+
+<
+
+And one with other stuff but no closing bracket:
+
+< foo
+