summaryrefslogtreecommitdiff
path: root/test/smart_punct.txt
blob: 66b6fd2d106ef5f2ba3fa67e148dbef9e4f98dd3 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
## 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>
.

.
'tis the season to be 'jolly'
.
<p>’tis the season to be ‘jolly’</p>
.

.
"A paragraph with no closing quote.

"Second paragraph by same speaker, in fiction."
.
<p>“A paragraph with no closing quote.</p>
<p>“Second paragraph by same speaker, in fiction.”</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>
.