Skip to content

Commit 692168f

Browse files
committed
dist: remove cdata tags from appcast, we escape it all
1 parent fefda69 commit 692168f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/macos/update_appcast_tag.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
elem.text = f"https://ghostty.org/docs/install/release-notes/{version_dash}"
8888
elem = ET.SubElement(item, "description")
8989
elem.text = f"""
90-
<![CDATA[<h1>Ghostty v{version}</h1>
90+
<h1>Ghostty v{version}</h1>
9191
<p>
9292
This release was built from commit <code><a href="{repo}/commits/{commit_long}">{commit}</a></code>
9393
on {now.strftime('%Y-%m-%d')}.
@@ -96,7 +96,7 @@
9696
We don't currently generate release notes for auto-updates.
9797
You can view the complete changelog and release notes
9898
at <a href="https://ghostty.org/docs/install/release-notes/{version_dash}">ghostty.org/docs/install/release-notes/{version_dash}</a>.
99-
</p>]]>
99+
</p>
100100
"""
101101
elem = ET.SubElement(item, "enclosure")
102102
elem.set("url", f"https://release.files.ghostty.org/{version}/Ghostty.dmg")

dist/macos/update_appcast_tip.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@
8383
elem.text = "13.0.0"
8484
elem = ET.SubElement(item, "description")
8585
elem.text = f"""
86-
<![CDATA[<p>
86+
<p>
8787
Automated build from commit <code><a href="{repo}/commits/{commit_long}">{commit}</a></code>
8888
on {now.strftime('%Y-%m-%d')}.
8989
</p>
9090
<p>
9191
These are automatic per-commit builds generated from the main Git branch.
9292
We do not generate any release notes for these builds. You can view the full
9393
commit history <a href="{repo}">on GitHub</a> for all changes.
94-
</p>]]>
94+
</p>
9595
"""
9696
elem = ET.SubElement(item, "enclosure")
9797
elem.set("url", f"https://tip.files.ghostty.org/{commit_long}/Ghostty.dmg")

0 commit comments

Comments
 (0)