jbh / oc-blog-rss-plugin

This is an extension of the RainLab.Blog plugin for OctoberCMS. It generates an rss.xml file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Titles not escaped properly

opened this issue · comments

Having a title (maybe also content, haven't checked that) containing a & sign will result in bad XML
I get the following error in the validator:

This feed does not validate.
line 117, column 13: XML parsing error: <unknown>:117:13: not well-formed (invalid token) [help]
<title>Q&A: Floriade and the EuPC22 in Almere?</title>

I guess the contents of XML tags don't get properly escaped for use in XML

Thanks for the detailed information. It's good to see this is still actively used. I'll look into committing a fix by this weekend.

Sorry for the delay! I had a busy few weeks. It was a simple fix.