summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-16 12:13:49 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-16 12:13:49 -0800
commit2f4cbcb9957a2840735a547cc846eeb566262a44 (patch)
treefaab2c0d1f0161c2d064e9f56a1cf96bfe771ba0 /test
parent28525a57f3a7ba4e821e7300ac9c74a1dbcadc24 (diff)
Added more --smart test cases.
Diffstat (limited to 'test')
-rw-r--r--test/smart_punct.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/smart_punct.txt b/test/smart_punct.txt
index 66b6fd2..14da741 100644
--- a/test/smart_punct.txt
+++ b/test/smart_punct.txt
@@ -56,6 +56,14 @@ Here is some quoted '`code`' and a "[quoted link](url)".
.
.
+\"This is not smart.\"
+This isn\'t either.
+.
+<p>&quot;This is not smart.&quot;
+This isn't either.</p>
+.
+
+.
Some dashes: one---two ---
three---four --- five.
.
@@ -64,6 +72,12 @@ three—four — five.</p>
.
.
+Escaped dashes: \-- \-\-\-.
+.
+<p>Escaped dashes: -- ---.</p>
+.
+
+.
Dashes between numbers: 5--7, 255--66, 1987--1999.
.
<p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
@@ -74,3 +88,9 @@ Ellipses...and...and....
.
<p>Ellipses…and…and….</p>
.
+
+.
+No ellipses\.\.\.
+.
+<p>No ellipses...</p>
+.