Skip to content

Commit c84d57f

Browse files
authored
Merge pull request #191 from Souls-R/master
fix: 修复"阅读更多"链接渲染
2 parents 8f150e4 + 6d7540a commit c84d57f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/src/components/Card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const parseBody = (body: string, href: string) => {
2525
let lastTagContent = marked_content.substring(lastTag);
2626
// remove the last tag
2727
marked_content = marked_content.substring(0, lastTag);
28-
let end = "……&nbsp&nbsp<a href={" + href + "}>[阅读更多]</a>" + lastTagContent;
28+
let end = "……&nbsp&nbsp<a href=" + href + ">[阅读更多]</a>" + lastTagContent;
2929
return marked_content + end;
3030
}
3131

0 commit comments

Comments
 (0)