From faa9cdeb81cb5edcf0275ddc0c64a11c4bb90319 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 21 Mar 2020 20:44:41 -0400 Subject: [PATCH] Properly replace bold in anilist descriptions --- util/Util.js | 1 + 1 file changed, 1 insertion(+) diff --git a/util/Util.js b/util/Util.js index c7093bbb..9a7571b4 100644 --- a/util/Util.js +++ b/util/Util.js @@ -142,6 +142,7 @@ module.exports = class Util { .replace(/'/g, '\'') .replace(/"/g, '"') .replace(/<\/?i>/g, '*') + .replace(/<\/?b>/g, '**') .replace(/~!|!~/g, '||') .replace(/—/g, '—'); if (clean.length > 2000) clean = `${clean.substr(0, 1995)}...`;