
January 8th, 2012, 11:36 AM
|
|
Contributing User
|
|
Join Date: Jun 2005
Posts: 541

Time spent in forums: 6 Days 16 h 9 m 25 sec
Reputation Power: 8
|
|
|
Unable to validate RSS(XML) feed due to special characters
Due to the " my feed will not validate on w3.org. How do I allow the quotes in the feed, I am currently using
Code:
$description = htmlentities(stripslashes($result['description']), ENT_QUOTES);
$description = str_replace("&", "&", $description);
$description = str_replace("'", "'", $description);
What else can I do to allow the " to show up ?
|