From e5ffb32c04d8d487368723cc0a66dbaf6b3ca00e Mon Sep 17 00:00:00 2001 From: Benjamin Dumke-von der Ehe Date: Mon, 15 Jun 2015 12:15:57 +0200 Subject: Add a test for an edge case in link reference parsing. This tests for the issue that's fixed in jgm/commonmark.js#49. --- spec.txt | 9 +++++++++ 1 file changed, 9 insertions(+) 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

[foo]: /url "title" ok

. +This is a link reference definition, but it has no title: + +. +[foo]: /url +"title" ok +. +

"title" ok

+. + This is not a link reference definition, because it is indented four spaces: -- cgit v1.2.3