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/command | |
| 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/command')
| -rw-r--r-- | test/command/5407.md | 8 | ||||
| -rw-r--r-- | test/command/pandoc-citeproc-320a.md | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/test/command/5407.md b/test/command/5407.md index ac9bed29d..b8a37a804 100644 --- a/test/command/5407.md +++ b/test/command/5407.md @@ -6,9 +6,9 @@ hi there?‘ hi there!‘ hi there! ^D -hi there?{}`` -hi there!{}`` -hi there?{}` -hi there!{}` +hi there?{\kern0pt}`` +hi there!{\kern0pt}`` +hi there?{\kern0pt}` +hi there!{\kern0pt}` hi there! ``` diff --git a/test/command/pandoc-citeproc-320a.md b/test/command/pandoc-citeproc-320a.md index 081dbfe3f..0afc769a5 100644 --- a/test/command/pandoc-citeproc-320a.md +++ b/test/command/pandoc-citeproc-320a.md @@ -49,13 +49,17 @@ references: Foo [@item1; @item2; @item3; @item4; @item5; @item6; @item7; @item8]. ^D Foo (al-ʾUdhrī, n.d.; al-ʿUdhrī, n.d.; al-\'Udhrī, n.d.; al-'Udhrī, -n.d.a, n.d.b; Uch, n.d.; Uebel, n.d.; Zzz, n.d.). +n.d.; al-'Udhrī, n.d.; Uch, n.d.; Uebel, n.d.; Zzz, n.d.). ::::::::::: {#refs .references .csl-bib-body .hanging-indent entry-spacing="0"} ::: {#ref-item6 .csl-entry} Uch, Ann. n.d. ::: +::: {#ref-item4 .csl-entry} +'Udhrī, Jamīl al-. n.d. +::: + ::: {#ref-item1 .csl-entry} ʾUdhrī, Jamīl al-. n.d. ::: @@ -68,12 +72,8 @@ Uch, Ann. n.d. \'Udhrī, Jamīl al-. n.d. ::: -::: {#ref-item4 .csl-entry} -'Udhrī, Jamīl al-. n.d.a. -::: - ::: {#ref-item5 .csl-entry} ----------. n.d.b. +'Udhrī, Jamīl al-. n.d. ::: ::: {#ref-item7 .csl-entry} |
