Ampersand symbol in titles breaks RSS feed #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Today I ran into an issue with one of the blogs using BSSG.
The problem is that if an article title contains an ampersand
&, the generated RSS feed doesn't escape the character properly, which breaks the RSS.The blog in question: https://blog.pipetogrep.org/rss.xml
It has two ampersands in this post title: https://blog.pipetogrep.org/2025/05/14/netbsd-ibooks-python-oh-my/
These two ampersands are even highlighted in blog's source here: https://github.com/llamallama/blog/blob/main/rss.xml
I guess the correct way is to use
&instead of plain&Hi, thank you for your report. I'll fix it ASAP.
Committed a fix in the main repo. Could you please test it?
Confirming that fix is working, thank you for the quick response!