citeproc icon indicating copy to clipboard operation
citeproc copied to clipboard

Bold formatting seems to break punctuation moving and merging

Open denismaier opened this issue 5 years ago • 1 comments

I have the following example:

--- 
title: Test
csl: chicago-note-bibliography-always-short-with-label.csl
references:
- type: article-journal
  id: doe1
  author:
  - family: Doe
    given: John
  issued:
    date-parts:
    - - 2020
      - 12
      - 1
  title: 'A first article by John Doe'
- type: article-journal
  id: doe2
  author:
  - family: Doe
    given: John
  issued:
    date-parts:
    - - 2020
      - 12
      - 1
  title: 'A second article by John Doe?'
---

Test [@doe1]
Test [@doe2]

Style: chicago-note-bibliography-always-short-with-label.zip

The resulting bibliography looks like this:

grafik

As you can see the punctuation stays outside the quotes, and they don't get merged. If I remove the font-weight="bold" on line 1387 everything behaves as expected. I don't know if that is on purpose, but bold formatting seems to prevent punctuation moving and merging.

denismaier avatar Jan 22 '21 23:01 denismaier

Same with italics, or different? (OK, I can see it would be the same.)

jgm avatar Jan 23 '21 02:01 jgm