From 99fe8594d94573b8ba8ec1d1e47b57444de4e4cb Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 10 Jul 2015 10:28:39 -0700 Subject: Avoid parsing partial URLs as HTML tags. Closes #2277. --- tests/Tests/Readers/Markdown.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/Tests/Readers') diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs index ed79f9e3d..e08ac1607 100644 --- a/tests/Tests/Readers/Markdown.hs +++ b/tests/Tests/Readers/Markdown.hs @@ -195,6 +195,9 @@ tests = [ testGroup "inline code" [ "with unicode dash following" =: "\8212" =?> para (autolink "http://foo.bar" <> str "\8212") + , "a partial URL (#2277)" =: + "" =?> + para (text "") ] , testGroup "Headers" [ "blank line before header" =: -- cgit v1.2.3