title tags need to encode marks correctly
In this example, headers have bold and italic in them. When exported to JATS, the <strong>
and <em>
are not encoded correctly, and we get something like this:
<title>Commentaries on <em>Nanothermodynamics</em></title>
which should be
<title>Commentaries on <italic>Nanothermodynamics</italic></title>
The unescaped ampersands cause the XML to be invalid to the parser. We need to process these marks correctly.
(previous report:)
Expected behavior
When trying to download JATS on production an error will be shown mentioning that the JATS is invalid. the following log is from console
Error making JATS. Errors: {"err":{"code":"InvalidChar","msg":"char '&' is not expected.","line":1,"col":20441}}
no errors are shown on the container logs
Current behaviour
Steps to reproduce
- create a new manuscript
- add your data
- submit it
- go to production
- download JATS
- get a link but the error of invalid JATS is shown