From 6897545a10e52deda73d2e19a7c71bcfa2883bb4 Mon Sep 17 00:00:00 2001
From: Waylan Limberg
Date: Fri, 6 Nov 2015 17:34:23 -0500
Subject: Ensure InlinePatterns don't drop newlines.
Drppoed the non-greedy quantifier from the end of the inlinePatterns as it
served no useful purpose and was actually (in very rare edge cases) causing
newlines to be dropped. FIxes #439. Thanks to @munificent for the report.
---
tests/extensions/smarty.html | 4 +++-
tests/extensions/smarty.txt | 3 +++
2 files changed, 6 insertions(+), 1 deletion(-)
(limited to 'tests')
diff --git a/tests/extensions/smarty.html b/tests/extensions/smarty.html
index 50cf774..e37e377 100644
--- a/tests/extensions/smarty.html
+++ b/tests/extensions/smarty.html
@@ -27,4 +27,6 @@ Escaped ellipsis...
Skip <<all>> "code" -- --- 'spans' ...
.
Also skip "code" 'blocks'
foo -- bar --- baz ...
-
\ No newline at end of file
+
+A line that ‘wraps’ with
+emphasis at the beginning of the next line.
\ No newline at end of file
diff --git a/tests/extensions/smarty.txt b/tests/extensions/smarty.txt
index f2f4041..12e5c95 100644
--- a/tests/extensions/smarty.txt
+++ b/tests/extensions/smarty.txt
@@ -35,3 +35,6 @@ Skip `<> "code" -- --- 'spans' ...`.
Also skip "code" 'blocks'
foo -- bar --- baz ...
+
+A line that 'wraps' with
+*emphasis* at the beginning of the next line.
--
cgit v1.2.3