From 57e590d2ddded193c350b4f5b1d661ff5de0ad2e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 23 Mar 2020 14:05:02 -0400 Subject: [PATCH] Replace all line break chars in anilist --- util/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/Util.js b/util/Util.js index 3319b3d0..2e83d6ae 100644 --- a/util/Util.js +++ b/util/Util.js @@ -138,7 +138,7 @@ module.exports = class Util { static cleanAnilistHTML(html) { let clean = html - .replace(/\n/g, '') + .replace(/\r|\n|\f/g, '') .replace(/
/g, '\n') .replace(/'/g, '\'') .replace(/"/g, '"')