From 9834966294597181545d2f987f223b6ca1aeb070 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Thu, 2 Feb 2012 06:19:41 -0500 Subject: Fixed #78. Added support for two line link refs. Also refactored the reference preprocessor to make this a little easier to implement. Regex does more now. --- tests/basic/links-reference.html | 3 ++- tests/basic/links-reference.txt | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/basic/links-reference.html b/tests/basic/links-reference.html index ae40975..63f242d 100644 --- a/tests/basic/links-reference.html +++ b/tests/basic/links-reference.html @@ -18,4 +18,5 @@ breaks with one space.

breaks[] with two spaces.

short ref

short -ref

\ No newline at end of file +ref

+

a ref

\ No newline at end of file diff --git a/tests/basic/links-reference.txt b/tests/basic/links-reference.txt index 48a57fb..3d636e5 100644 --- a/tests/basic/links-reference.txt +++ b/tests/basic/links-reference.txt @@ -54,3 +54,8 @@ breaks[] with two spaces. ref] [short ref]: http://example.com "No more hanging empty bracket!" + +[a ref] + +[a ref]: http://example.com + "Title on next line." -- cgit v1.2.3