Replace all line break chars in anilist

This commit is contained in:
Dragon Fire
2020-03-23 14:05:02 -04:00
parent d7cda727fa
commit 57e590d2dd
+1 -1
View File
@@ -138,7 +138,7 @@ module.exports = class Util {
static cleanAnilistHTML(html) { static cleanAnilistHTML(html) {
let clean = html let clean = html
.replace(/\n/g, '') .replace(/\r|\n|\f/g, '')
.replace(/<br>/g, '\n') .replace(/<br>/g, '\n')
.replace(/&#039;/g, '\'') .replace(/&#039;/g, '\'')
.replace(/&quot;/g, '"') .replace(/&quot;/g, '"')