mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +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) {
|
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(/'/g, '\'')
|
.replace(/'/g, '\'')
|
||||||
.replace(/"/g, '"')
|
.replace(/"/g, '"')
|
||||||
|
|||||||
Reference in New Issue
Block a user