mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Replace all line break chars in anilist
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ module.exports = class Util {
|
||||
|
||||
static cleanAnilistHTML(html) {
|
||||
let clean = html
|
||||
.replace(/\n/g, '')
|
||||
.replace(/\r|\n|\f/g, '')
|
||||
.replace(/<br>/g, '\n')
|
||||
.replace(/'/g, '\'')
|
||||
.replace(/"/g, '"')
|
||||
|
||||
Reference in New Issue
Block a user