Commit 2478602
committed
Fix smart punctuation inside grammar terminals
Smart punctuation was converting `...` to `…`. This fixes it so that it
will be escaped to avoid the conversion. This normally doesn't happen
inside a backtick code block, but since we are using spans for
terminals, pulldown-cmark is accidentally picking them up.
This also includes hyphen to handle en-dash and em-dash, though we don't
have those.
Fixes rust-lang#18671 parent 50fc162 commit 2478602
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
0 commit comments