Cybrkyd's git repositories

page-with-py • commit: c13939d

commit c13939dadd41ec73f74ad5c9da6cd3ed78bf26b3ae0a360465ead2227feb67d1
author cybrkyd <vii@cybrkyd.com> 2025-09-21 21:26:36 +0100
committer cybrkyd <vii@cybrkyd.com> 2025-09-21 21:26:36 +0100

Commit Message

CDATA needs to go

📊 Diffstat

pg-py/pg.py 2
1 files changed, 1 insertions(+), 1 deletions(-)

Diff

diff --git a/pg-py/pg.py b/pg-py/pg.py
index 56c9ea5..1568b4b 100644
--- a/pg-py/pg.py
+++ b/pg-py/pg.py
@@ -481,7 +481,7 @@ def generate_rss_feed(posts, output_dir: Path):
if 'html_content' in post:
desc_elem = ET.SubElement(item, 'description')
- desc_elem.text = '<![CDATA[' + post['html_content'] + ']]>'
+ desc_elem.text = post['html_content']
tree = ET.ElementTree(rss)
ET.indent(tree, space=" ", level=0)