From 6686292d544793bb65382c52d89b059e80b8c842 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 22 Jan 2022 19:21:30 +0000 Subject: [PATCH] style: auto format --- docs/en/anime.md | 24 ++++++++++++------------ lib/routes/aeon/category.js | 8 +++++++- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/docs/en/anime.md b/docs/en/anime.md index be163d94f3..0b6a13a500 100644 --- a/docs/en/anime.md +++ b/docs/en/anime.md @@ -10,6 +10,18 @@ pageClass: routes +## iwara + +### User + + + +| type | video | image | +| :--: | :---: | :---: | +| | video | image | + + + ## Kemono ### Posts @@ -79,15 +91,3 @@ For example: https://www.webtoons.com/zh-hant/drama/gongzhuweimian/list?title_no ### [Naver](https://comic.naver.com) - -## iwara - -### User - - - -| type | video | image | -| :--: | :---: | :---: | -| | video | image | - - diff --git a/lib/routes/aeon/category.js b/lib/routes/aeon/category.js index 77996b969d..ddde7d7c7c 100644 --- a/lib/routes/aeon/category.js +++ b/lib/routes/aeon/category.js @@ -33,7 +33,13 @@ module.exports = async (ctx) => { let bio; const authorInfo = '.VEKKL'; if (capture(authorInfo).html() !== null) { - bio = `


` + capture(authorInfo).html().replace(/<\/?span[^>]*>/g, "").replace(/<\/?p[^>]*>/g, " ") + `


`; + bio = + `


` + + capture(authorInfo) + .html() + .replace(/<\/?span[^>]*>/g, '') + .replace(/<\/?p[^>]*>/g, ' ') + + `


`; } else { bio = ''; }