aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/links-reference.html5
-rw-r--r--tests/basic/links-reference.txt7
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/basic/links-reference.html b/tests/basic/links-reference.html
index 992525c..ae40975 100644
--- a/tests/basic/links-reference.html
+++ b/tests/basic/links-reference.html
@@ -15,4 +15,7 @@ breaks</a></p>
<p>and <a href="http://example.com" title="Yes this works">line
breaks</a> with one space.</p>
<p>and [line<br />
-breaks[] with two spaces.</p> \ No newline at end of file
+breaks[] with two spaces.</p>
+<p><a href="http://example.com" title="No more hanging empty bracket!">short ref</a></p>
+<p><a href="http://example.com" title="No more hanging empty bracket!">short
+ref</a></p> \ No newline at end of file
diff --git a/tests/basic/links-reference.txt b/tests/basic/links-reference.txt
index c95a195..48a57fb 100644
--- a/tests/basic/links-reference.txt
+++ b/tests/basic/links-reference.txt
@@ -47,3 +47,10 @@ and [line
breaks[] with two spaces.
[line breaks]: http://example.com "Yes this works"
+
+[short ref]
+
+[short
+ref]
+
+[short ref]: http://example.com "No more hanging empty bracket!"