I format my descriptions and titles using HTML tags. I also use some tags to keep from having errors in MySQL server such as commas and quotation marks. I'm using the RSS 2.0 format for my Google feed which has problems with some HTML tags within xml. On top of it all, Google has it's own formatting you need to consider if you want your feed to display at all. Thus the need for sanitizing it.
Unfortunately, theirs not an easy one fix for all users solution, lest for my limited coding ability. All my quotations are tag as " and for some reason, the & is removed during sanitizing leaving me with quot; which errors in Google. My fix was with this line in \includes\classes\google_base.php Look for the function 'google_base_xml_sanitizer'
Code:
$str = str_replace(array("<", ">"), array("<", ">"), $str);
with this one
Code:
$str = str_replace(array("lt;", "gt;", "quot;"), array("<", " &qt; ", """), $str);
My quotation now shows up in titles and description.
Theirs nothing wrong with the code, just with how my titles and description are coded and my refusal to modify 3000 products just to please google.
Bookmarks