aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/JATS/References.hs
AgeCommit message (Collapse)AuthorFilesLines
2021-04-05JATS writer: escape disallows chars in identifiersAlbert Krewinkel1-2/+3
XML identifiers must start with an underscore or letter, and can contain only a limited set of punctuation characters. Any IDs not adhering to these rules are rewritten by writing the offending characters as Uxxxx, where `xxxx` is the character's hex code.
2021-01-29JATS writer: escape special chars in reference elements.Albert Krewinkel1-3/+6
Prevents the generation of invalid markup if a citation element contains an ampersand or another character with a special meaning in XML.
2021-01-22JATS writer: allow to use element-citationAlbert Krewinkel1-0/+160