~bitfehler/public-inbox

blog: Wrap post content in CDATA v1 PROPOSED

Umar Getagazov: 1
 Wrap post content in CDATA

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~bitfehler/public-inbox/patches/33925/mbox | git am -3
Learn more about email & git

[PATCH blog] Wrap post content in CDATA Export this patch

---
I also noticed the RSS feed on the live website is missing post content
altogether. Is that intentional?
 bin/mkrss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/mkrss b/bin/mkrss
index aeb15f6..9c9e9d7 100755
--- a/bin/mkrss
@@ -35,7 +35,7 @@ for post in $POSTS; do
      <link>https://bitfehler.srht.site/${link}</link>
      <pubDate>$(date -d "${date}" -R)</pubDate>
      <guid>https://bitfehler.srht.site/${link}</guid>
      <description>$(render_without_title "${post}" | LANG=C sed "s/[\x80-\xFF]//g" | html_encode)</description>
      <description><![CDATA[$(render_without_title "${post}")]]></description>
    </item>
EOF
done
-- 
2.32.1 (Apple Git-133)
Hey there!

Sorry for the late response, I was out on vacation. Thanks for your 
patch, I applied it. Also: