aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Dumke-von der Ehe <mail@benjamin-dumke.de>2015-06-15 12:15:57 +0200
committerBenjamin Dumke-von der Ehe <mail@benjamin-dumke.de>2015-06-15 12:15:57 +0200
commite5ffb32c04d8d487368723cc0a66dbaf6b3ca00e (patch)
tree6e6f5baebaf20aa43f280bb875b4ab87fbdc9450
parent15c667c7595cac33420be4ae9f2dfe2b6f57b921 (diff)
Add a test for an edge case in link reference parsing.
This tests for the issue that's fixed in jgm/commonmark.js#49.
-rw-r--r--spec.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index ac2ce2a..776aaae 100644
--- a/spec.txt
+++ b/spec.txt
@@ -2033,6 +2033,15 @@ This is not a link reference definition, because there are
<p>[foo]: /url &quot;title&quot; ok</p>
.
+This is a link reference definition, but it has no title:
+
+.
+[foo]: /url
+"title" ok
+.
+<p>&quot;title&quot; ok</p>
+.
+
This is not a link reference definition, because it is indented
four spaces: