From 8d5c2490038a672818059aceb3e08a8c62bbe08a Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Sun, 5 Nov 2017 17:35:58 -0800 Subject: [PATCH] Un-italicize Garama For consistency with other foreign-language names. --- lib/convert.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/convert.js b/lib/convert.js index b422d37..a6803b2 100644 --- a/lib/convert.js +++ b/lib/convert.js @@ -237,6 +237,7 @@ function getBodyXML(chapter, contentEl) { // These are usually not italicized, but sometimes are. Other foreign-language names (like Yàngbǎn) are not // italicized, so we go in the direction of removing the italics. + xml = xml.replace(/Garama<\/em>/g, "Garama"); xml = xml.replace(/Thanda<\/em>/g, "Thanda"); xml = xml.replace(/Sifara([^<]*)<\/em>/g, "Sifara$1");