Skip to content

Commit

Permalink
CDATA -> html
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Nov 14, 2024
1 parent fdba23c commit 5f84513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def add_item(data, full_html):
rel="alternate",
)
fe.link(href=f"https://zhuanlan.zhihu.com/p/{data['id']}", rel="related")
fe.content(full_html, type="CDATA")
fe.content(full_html, type="html")
fe.summary(data["excerpt"])
fe.published(created_timestamp)
fe.guid(f"https://l-m-sherlock.github.io/ZhiHuArchive/{file.stem}.html")
Expand Down

0 comments on commit 5f84513

Please sign in to comment.