|Subject:||Escaping in RSS output.|
Perl 5.6.1, XML-RSS-0.97, Linux 2.2.20 on i386. XML::RSS seems not to escape ampersands in RSS channels to & automatically, and I think it should. At the moment it leaves them in place, which classes an XML entity reference for any URL with a & in - as the URLs of many news sites' stories do. This turns what should be a working RSS channel into something that won't parse correctly at all. At the moment, I'm just using s/&/&/g; in my calling code. It would be a great help if at the very least, there were output encoding options in the module. More information (incl. sample code and broken RSS output) if needed, but I don't think it's necessary in this case. Many thanks for reading. I hope I'm not missing something here..