diff --git a/lib/convert-worker.js b/lib/convert-worker.js index 5b1f4a0..2432474 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -243,6 +243,12 @@ function getBodyXML(chapter, book, contentEl) { xml = xml.replace(/ ? <\/p>/g, "

"); xml = xml.replace(/([a-z]) ,/g, "$1,"); + // Use actual emojis instead of images + xml = xml.replace( + // eslint-disable-next-line max-len + /O_o/g, + "🤨"); + xml = fixTruncatedWords(xml); xml = fixDialogueTags(xml); xml = fixForeignNames(xml);