Index: openacs-4/packages/search/tcl/syndicate-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/search/tcl/syndicate-procs.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/search/tcl/syndicate-procs.tcl 10 Jan 2007 21:22:14 -0000 1.2 +++ openacs-4/packages/search/tcl/syndicate-procs.tcl 2 Oct 2008 05:05:11 -0000 1.3 @@ -42,14 +42,15 @@ set published [lc_time_fmt $syn(pubDate) "%a, %d %b %Y %H:%M:%S GMT"] + set xmlMap [list & "&" < "<" > ">" \" """ ' "'"] set rss_xml_frag " - $d(title) - $url - $syn(guid) - $syn(description) - $syn(author) + [string map $xmlMap $d(title)] + [string map $xmlMap $url] + [string map $xmlMap $syn(guid)] + [string map $xmlMap $syn(description)] + [string map $xmlMap $syn(author)] - $syn(category) + [string map $xmlMap $syn(category)] $published "