summaryrefslogtreecommitdiff
path: root/testdoc
diff options
context:
space:
mode:
authorSteven Dee <steve@smartercode.net>2013-06-22 15:59:28 -0400
committerSteven Dee <steve@smartercode.net>2013-06-22 16:14:25 -0400
commitb8bb25f4a7a08c5cecb21abab3835b25a079c7ec (patch)
treee5e34a8b8c3716affb17095ef29a9e7dac597056 /testdoc
parent1df23c38824a74849c176a5a3bd54d9f1dba8817 (diff)
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.
Diffstat (limited to 'testdoc')
-rw-r--r--testdoc2
1 files changed, 2 insertions, 0 deletions
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: