Testing an upgrade from 4.5 to 4.6.

I am getting this error in Firefox when I try to access the xml feeds:

XML Parsing Error: not well-formed

Referring to the ampersand in the categories:

<category domain="http://www.mytestsite.org/taxonomy/term/315">Abuse & Neglect</category>

------------------------------------------------------------------------^

Maybe add the "check_plain" function to the $term->name variable in the "taxonomy_rss_item" function?

Or am I not supposed to use ampersands in term names?

Comments

morbus iff’s picture

check_plain would be the answer here. Amps should be fine in a term.

http://disobey.com/
http://gamegrene.com/

morbus iff’s picture

Why not make an Issue out of it with a patch? We'll love you.

http://disobey.com/
http://gamegrene.com/

epicflux’s picture

I submitted it as a bug. I am still too much of novice to start submitting patches...