diff options
| author | John MacFarlane <[email protected]> | 2025-02-13 13:57:25 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-02-13 13:58:53 -0800 |
| commit | c21177b113dec0b936cf6f87a4f95ff2cb069502 (patch) | |
| tree | af058930ba3e276fc6bbedcb3f2e70eaa34f3278 /test/markdown-reader-more.native | |
| parent | 0fe62545358a373e4e22fa2421dd51dcc4400123 (diff) | |
Smart quote parsing: ignore curly quotes.
Previously we tried to match curly quotes as well as straight
quotes, producing Quoted inlines. But it seems better just to
assume that those who use curly quotes want them passed through
verbatim.
This also fixes an (unintended) bug whereby curly single left
quotes would sometimes be changed to single right quotes.
Closes #10610.
Diffstat (limited to 'test/markdown-reader-more.native')
| -rw-r--r-- | test/markdown-reader-more.native | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/markdown-reader-more.native b/test/markdown-reader-more.native index 41a2e3345..148cba944 100644 --- a/test/markdown-reader-more.native +++ b/test/markdown-reader-more.native @@ -316,8 +316,8 @@ Pandoc 2 ( "curly-smart-quotes" , [] , [] ) [ Str "Curly" , Space , Str "smart" , Space , Str "quotes" ] - , Para [ Quoted DoubleQuote [ Str "Hi" ] ] - , Para [ Quoted SingleQuote [ Str "Hi" ] ] + , Para [ Str "\8220Hi\8221" ] + , Para [ Str "\8216Hi\8217" ] , Header 2 ( "consecutive-lists" , [] , [] ) |
