wpoa/JATS-to-Mediawiki

Apostrophe in italics turns into bold

Daniel-Mietchen opened this issue · 1 comments

That really looks like a data error, in my estimation. Why would they italicize the word, but leave the apostrophe inside the word non-italicized? Anyway, I was able to make this work with the following wikitext:

Here's an italic word with a non-italic apostrophe:  ''Prud'''''homies''

which suggests that the solution is to always escape apostrophes as numeric character references. But that makes the wikitext pretty ugly, unfortunately. On the other hand, I don't see any other way to robustly differentiate apostrophes-as-markup vs apostrophes-as-content.

What do you think?