Clean up Anilist descriptions

This commit is contained in:
Dragon Fire
2020-03-23 13:59:12 -04:00
parent c4ae13f8b0
commit d7cda727fa
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -138,7 +138,8 @@ module.exports = class Util {
static cleanAnilistHTML(html) {
let clean = html
.replace(/(<br>)+/g, '\n')
.replace(/\n/g, '')
.replace(/<br>/g, '\n')
.replace(/&#039;/g, '\'')
.replace(/&quot;/g, '"')
.replace(/<\/?i>/g, '*')