1
0

Strip tags from comments also in RSS-Feeds for comments, thanks to

tmix from the forums (garvinhicking)
This commit is contained in:
Garvin Hicking
2007-04-11 10:17:10 +00:00
parent a26b41cfd2
commit c580fa35d3
2 changed files with 6 additions and 0 deletions

@ -3,6 +3,9 @@
Version 1.2 ()
------------------------------------------------------------------------
* Strip tags from comments also in RSS-Feeds for comments, thanks to
tmix from the forums (garvinhicking)
* Patch #1697590: Proper directory name of SQLite DB-error messages,
thanks to Thijs Kinkhorst

@ -49,6 +49,9 @@ function serendipity_printEntries_rss(&$entries, $version, $comments = false, $f
$entry['author'] .= ' - ' . $entry['ctitle'];
}
$entry['title'] = (!empty($entry['author']) ? $entry['author'] : ANONYMOUS) . ': ' . $entry['title'];
// No HTML allowed here:
$entry['body'] = strip_tags($entry['body']);
}
// Embed a link to extended entry, if existing