diff --git a/lib/routes/sankakucomplex/post.js b/lib/routes/sankakucomplex/post.js index b5674287ea..63ec1db55e 100644 --- a/lib/routes/sankakucomplex/post.js +++ b/lib/routes/sankakucomplex/post.js @@ -7,10 +7,7 @@ module.exports = async (ctx) => { url: 'https://idol.sankakucomplex.com/post/atom', }); - const $ = cheerio.load(response.data, { - normalizeWhitespace: true, - xmlMode: true, - }); + const $ = cheerio.load(response.data); ctx.state.data = { title: 'Posts | Idol Complex - Idol & Cosplay Images', diff --git a/lib/v2/gov/nrta/news.js b/lib/v2/gov/nrta/news.js index 3ee0dc196c..47ceaeaaa3 100644 --- a/lib/v2/gov/nrta/news.js +++ b/lib/v2/gov/nrta/news.js @@ -25,7 +25,6 @@ module.exports = async (ctx) => { const data = response.data.replace(regex, '$1'); const $ = cheerio.load(data, { - normalizeWhitespace: true, xmlMode: true, });