summaryrefslogtreecommitdiff
path: root/test/smart_punct.txt
blob: c870c9d5b680198d204e0b498690e2a73a285d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
## Smart punctuation

.
"Hello," said the spider.
"'Shelob' is my name."
.
<p>&ldquo;Hello,&rdquo; said the spider.
&ldquo;&lsquo;Shelob&rsquo; is my name.&rdquo;</p>
.

.
'A', 'B', and 'C' are letters.
.
<p>&lsquo;A&rsquo;, &lsquo;B&rsquo;, and &lsquo;C&rsquo; are letters.</p>
.

.
'Oak,' 'elm,' and 'beech' are names of trees.
So is 'pine.'
.
<p>&lsquo;Oak,&rsquo; &lsquo;elm,&rsquo; and &lsquo;beech&rsquo; are names of trees.
So is &lsquo;pine.&rsquo;</p>
.

.
'He said, "I want to go."'
.
<p>&lsquo;He said, &ldquo;I want to go.&rdquo;&rsquo;</p>
.

.
Were you alive in the 70's?
.
<p>Were you alive in the 70&rsquo;s?</p>
.

.
Here is some quoted '`code`' and a "[quoted link](url)".
.
<p>Here is some quoted &lsquo;<code>code</code>&rsquo; and a &ldquo;<a href="url">quoted link</a>&rdquo;.</p>
.

.
Some dashes:  one---two ---
three---four --- five.
.
<p>Some dashes:  one&mdash;two &mdash;
three&mdash;four &mdash; five.</p>
.

.
Dashes between numbers: 5--7, 255--66, 1987--1999.
.
<p>Dashes between numbers: 5&ndash;7, 255&ndash;66, 1987&ndash;1999.</p>
.

.
Ellipses...and...and....
.
<p>Ellipses&hellip;and&hellip;and&hellip;.</p>
.