From d1aa079165d16f188e004c500b871853f443c8e3 Mon Sep 17 00:00:00 2001 From: Rajarshee Chatterjee Date: Tue, 5 Jan 2021 15:45:24 +0530 Subject: [PATCH] boxnovel: fix novel description --- src/en/boxnovel/boxnovel.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/en/boxnovel/boxnovel.js b/src/en/boxnovel/boxnovel.js index cd11701..164d0f6 100644 --- a/src/en/boxnovel/boxnovel.js +++ b/src/en/boxnovel/boxnovel.js @@ -90,7 +90,9 @@ router.get("/novel/:novelUrl", (req, res) => { $(".description-summary > div.summary__content").find("em").remove(); - novel.novelSummary = $(".description-summary > div.summary__content") + novel.novelSummary = $( + ".description-summary > div.summary__content > div" + ) .text() .replace(/[\t\n]/g, "");