From 182cb3c3b37e89a7d7b58956330e0b5665abddff Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 20 Jan 2021 18:45:18 -0500 Subject: [PATCH] Fix anilist em tag --- util/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/Util.js b/util/Util.js index 68b142c5..519c985f 100644 --- a/util/Util.js +++ b/util/Util.js @@ -292,7 +292,7 @@ module.exports = class Util { clean = decodeHTML(clean); clean = clean .replaceAll('
', '\n') - .replace(/<\/?i>/g, '*') + .replace(/<\/?(i|em)>/g, '*') .replace(/<\/?b>/g, '**') .replace(/~!|!~/g, '||'); if (clean.length > 2000) clean = `${clean.substr(0, 1995)}...`;