boxnovel: fix novel description

This commit is contained in:
Rajarshee Chatterjee
2021-01-05 15:45:24 +05:30
parent ebd84872c3
commit d1aa079165
+3 -1
View File
@@ -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, "");