Skip to content

Commit

Permalink
fix: fix summary render in SSR
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Dec 2, 2023
1 parent 89e930f commit aafd931
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webscraper",
"version": "1.2.2",
"version": "1.2.3",
"description": "",
"private": true,
"main": "dist/main.js",
Expand Down
2 changes: 1 addition & 1 deletion src/ssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ function renderList(
if (item.summary) {
const summary = $(`<p title="summary"></p>`)
summary.text(item.summary)
title.appendTo(`#${item.id}`)
summary.appendTo(`#${item.id}`)
}

if (item.authors) {
Expand Down

0 comments on commit aafd931

Please sign in to comment.