aboutsummaryrefslogtreecommitdiffstats
path: root/tests/basic/links-reference.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2010-10-11 23:40:50 -0400
committerWaylan Limberg <waylan@gmail.com>2010-10-11 23:40:50 -0400
commitcbb8de8c5001b85dd28b6dca20c0bf58827167fb (patch)
tree92dd20e2a0930bd891057564eb0c25ec5da17a29 /tests/basic/links-reference.html
parente2a79787f426bef4c2455d235252362586838773 (diff)
downloadmarkdown-cbb8de8c5001b85dd28b6dca20c0bf58827167fb.tar.gz
markdown-cbb8de8c5001b85dd28b6dca20c0bf58827167fb.tar.bz2
markdown-cbb8de8c5001b85dd28b6dca20c0bf58827167fb.zip
Fixed Ticket 79. Linebreaks in reference link identifiers are now ignored. This matches the most recent version of markdown.pl among other implementations and allows links to work after editors do autolinebreak stuff to text.
Diffstat (limited to 'tests/basic/links-reference.html')
-rw-r--r--tests/basic/links-reference.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/basic/links-reference.html b/tests/basic/links-reference.html
index 9780bf3..992525c 100644
--- a/tests/basic/links-reference.html
+++ b/tests/basic/links-reference.html
@@ -9,4 +9,10 @@
<pre><code>[four]: /url
</code></pre>
<p>With <a href="http://example.com/" title="Angle Brackets">angle brackets</a>.</p>
-<p>And <a href="http://example.com/" title="Without angle brackets.">without</a>.</p> \ No newline at end of file
+<p>And <a href="http://example.com/" title="Without angle brackets.">without</a>.</p>
+<p>With <a href="http://example.com" title="Yes this works">line
+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