Sourena
09-20-2005, 06:57 PM
Hi All,
I had noticed a problem with the RSS feed. The issue was with a malformed xml most commonly by the use of & in the description. I managed to come up with a simple solution. So if you are interested here is the fix:
In line 560 of index.php (version 1.4.2 of course) you will find the code
$body = strip_tags( $body );
You need to replace it with
$body = htmlspecialchars( strip_tags( $body )); //was $body = strip_tags( $body );
Hope this will help all of you.
Cheers,
Sourena
I had noticed a problem with the RSS feed. The issue was with a malformed xml most commonly by the use of & in the description. I managed to come up with a simple solution. So if you are interested here is the fix:
In line 560 of index.php (version 1.4.2 of course) you will find the code
$body = strip_tags( $body );
You need to replace it with
$body = htmlspecialchars( strip_tags( $body )); //was $body = strip_tags( $body );
Hope this will help all of you.
Cheers,
Sourena