iphimeda
08-30-2006, 02:44 PM
I had the problem that my RSS feed wasn't showing any clickable links (as seen through Feedreader) and that - if I used html for the make up - there was no structure/make-up whatsoever in the text you give in in the 'image description/text' box.
Now I did the following (and that seems to solve the no clickable links and the disappeard html make-up problems)
In the index.php file I changed
$body = pullout($body);
$body = stripslashes($body);
$body = ereg_replace("\n","\n<br />",$body);
$body = strip_tags( $body );
$body = htmlspecialchars($body,ENT_QUOTES);
to
$body = pullout($body);
$body = ereg_replace("\n","\n<br />",$body);
$body = htmlspecialchars($body,ENT_QUOTES);
Is there any reason why I shouldn't do that and why those two statements/whatever they are called were included in the first place?
The two 'statements' I removed are:
$body = stripslashes($body);
$body = strip_tags( $body );
Now I did the following (and that seems to solve the no clickable links and the disappeard html make-up problems)
In the index.php file I changed
$body = pullout($body);
$body = stripslashes($body);
$body = ereg_replace("\n","\n<br />",$body);
$body = strip_tags( $body );
$body = htmlspecialchars($body,ENT_QUOTES);
to
$body = pullout($body);
$body = ereg_replace("\n","\n<br />",$body);
$body = htmlspecialchars($body,ENT_QUOTES);
Is there any reason why I shouldn't do that and why those two statements/whatever they are called were included in the first place?
The two 'statements' I removed are:
$body = stripslashes($body);
$body = strip_tags( $body );