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.
Showing
- src/Text/Pandoc/Parsing/Smart.hs 4 additions, 12 deletionssrc/Text/Pandoc/Parsing/Smart.hs
- src/Text/Pandoc/Writers/LaTeX/Util.hs 2 additions, 2 deletionssrc/Text/Pandoc/Writers/LaTeX/Util.hs
- test/command/5407.md 4 additions, 4 deletionstest/command/5407.md
- test/command/pandoc-citeproc-320a.md 6 additions, 6 deletionstest/command/pandoc-citeproc-320a.md
- test/markdown-reader-more.native 2 additions, 2 deletionstest/markdown-reader-more.native
Loading
Please register or sign in to comment