Escape XML reserved characters when writing JATS-formatted text to database#751
Conversation
…ed attributes in write_jats_content
Issues Fixed1.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 37b4db6c1e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Raw characters
<,>,&etc were not previously being escaped when writing JATS fields such asabstract, leading to bugs downstream such as https://help.thoth.pub/#ticket/zoom/363 (where a stray<character used as a "from" symbol caused truncation/malformation of the Crossref XML output).