Skip to content

Commit

Permalink
Fix unsupported unicode characters in two styles
Browse files Browse the repository at this point in the history
`journal-of-the-marine-biological-association-of-the-united-kingdom.csl`

- From PR citation-style-language#2547, it looks like the original style was cloned from
  `apa-6th-edition.csl`. The invalid character in `number-of-volumes`
  was updated to match that journal: `–`.

`museum-national-dhistoire-naturelle.csl`

- Overwhelmingly, styles use the following within the `genre` macro:
  ```
  <text variable="number" prefix=" No. "/>
  ```
  Only styles with default locale `de-DE` sometimes use ` Nr. `.

Fixes citation-style-language#7222
  • Loading branch information
mdmower committed Oct 21, 2024
1 parent 5cfc7ae commit 50c32bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
<else>
<group>
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=" "/>
<number variable="number-of-volumes" form="numeric" prefix="1"/>
<number variable="number-of-volumes" form="numeric" prefix="1&#8211;"/>
</group>
</else>
</choose>
Expand Down
2 changes: 1 addition & 1 deletion museum-national-dhistoire-naturelle.csl
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
<macro name="genre">
<group prefix=" " suffix=". ">
<text variable="genre"/>
<text variable="number" prefix=" N�"/>
<text variable="number" prefix=" No. "/>
</group>
</macro>
<macro name="event">
Expand Down

0 comments on commit 50c32bf

Please sign in to comment.