IACR / latex-submit

Web server to receive uploaded LaTeX and execute it in a docker container.
GNU Affero General Public License v3.0
11 stars 0 forks source link

We should strip newline from title and subtitle when we produce JATS #70

Closed kmccurley closed 3 months ago

kmccurley commented 3 months ago

newline characters are allowed in the title and subtitle. When we produce the JATS, we should replace \\ in the title and subtitle by <break>

kmccurley commented 3 months ago

This commit fixes it. It was only subtitle that was at issue - newlines were already stripped in affiliation and title. We strip the newline altogether before JATS is produced.