From 1df23c38824a74849c176a5a3bd54d9f1dba8817 Mon Sep 17 00:00:00 2001 From: Steven Dee Date: Sat, 22 Jun 2013 16:05:19 -0400 Subject: Add test case for non-processing in "`" --- testdoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testdoc') diff --git a/testdoc b/testdoc index 6316281..523d7d6 100644 --- a/testdoc +++ b/testdoc @@ -7,6 +7,8 @@ simple tests first paragraph. testing surround: _emph_ then **strong** and `code`. +`x = *y * 6;` + horizontal rule: - - - -- cgit v1.2.3 From b8bb25f4a7a08c5cecb21abab3835b25a079c7ec Mon Sep 17 00:00:00 2001 From: Steven Dee Date: Sat, 22 Jun 2013 15:59:28 -0400 Subject: Fix escaping with surrounds When we assigned stop = strstr(start, search), we'd grab the first match even if it was escaped. Instead, we update stop as we go. --- testdoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testdoc') diff --git a/testdoc b/testdoc index 523d7d6..014c05b 100644 --- a/testdoc +++ b/testdoc @@ -7,6 +7,8 @@ simple tests first paragraph. testing surround: _emph_ then **strong** and `code`. +`\`escaped backticks\``. + `x = *y * 6;` horizontal rule: -- cgit v1.2.3