Properly replace bold in anilist descriptions

This commit is contained in:
Dragon Fire
2020-03-21 20:44:41 -04:00
parent fc0d59178a
commit faa9cdeb81
+1
View File
@@ -142,6 +142,7 @@ module.exports = class Util {
.replace(/'/g, '\'')
.replace(/"/g, '"')
.replace(/<\/?i>/g, '*')
.replace(/<\/?b>/g, '**')
.replace(/~!|!~/g, '||')
.replace(/&mdash;/g, '—');
if (clean.length > 2000) clean = `${clean.substr(0, 1995)}...`;