Skip to content

Commit 0a5781e

Browse files
committed
Correct smartquote comments.
1 parent b460f14 commit 0a5781e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/flowmark/typography/smartquotes.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,20 @@ def smart_quotes(text: str) -> str:
100100
Straight quotes are converted to apostrophes if they are the only straight quote
101101
in the word, and have word characters on both sides:
102102
103-
I'm there with "George" -> I'm there with "George"
104-
"Hello," he said. -> "Hello," he said.
105-
"I know!" -> "I know!"
103+
I'm there with "George" -> Im there with George
104+
"Hello," he said. -> Hello, he said.
105+
"I know!" -> I know!
106106
107107
Words in 'single quotes' work too -> Words in 'single quotes' work too
108108
109-
I'm there -> I'm there
110-
I'll be there, don't worry -> I'll be there, don't worry
111-
X is 'foo' -> X is 'foo'
109+
I'm there -> Im there
110+
I'll be there, don't worry -> Ill be there, dont worry
111+
X is 'foo' -> X is foo
112112
113113
A few special rules to better help with English:
114114
115-
Jill's -> Jill's
116-
James' -> James'
115+
Jill's -> Jills
116+
James' -> James
117117
118118
Other patterns are unchanged:
119119

0 commit comments

Comments
 (0)