boxnovel: fix novel description
This commit is contained in:
@@ -90,7 +90,9 @@ router.get("/novel/:novelUrl", (req, res) => {
|
|||||||
|
|
||||||
$(".description-summary > div.summary__content").find("em").remove();
|
$(".description-summary > div.summary__content").find("em").remove();
|
||||||
|
|
||||||
novel.novelSummary = $(".description-summary > div.summary__content")
|
novel.novelSummary = $(
|
||||||
|
".description-summary > div.summary__content > div"
|
||||||
|
)
|
||||||
.text()
|
.text()
|
||||||
.replace(/[\t\n]/g, "");
|
.replace(/[\t\n]/g, "");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user