summaryrefslogtreecommitdiff
path: root/test/smart_punct.txt
blob: 5deccde45437f98ec18345c511e27227030c187b (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>“Hello,” said the spider.
“‘Shelob’ is my name.”</p>
.

.
'A', 'B', and 'C' are letters.
.
<p>‘A’, ‘B’, and ‘C’ are letters.</p>
.

.
'Oak,' 'elm,' and 'beech' are names of trees.
So is 'pine.'
.
<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees.
So is ‘pine.’</p>
.

.
'He said, "I want to go."'
.
<p>‘He said, “I want to go.”’</p>
.

.
Were you alive in the 70's?
.
<p>Were you alive in the 70’s?</p>
.

.
Here is some quoted '`code`' and a "[quoted link](url)".
.
<p>Here is some quoted ‘<code>code</code>’ and a “<a href="url">quoted link</a>”.</p>
.

.
Some dashes:  one---two ---
three---four --- five.
.
<p>Some dashes:  one—two —
three—four — five.</p>
.

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

.
Ellipses...and...and....
.
<p>Ellipses…and…and….</p>
.