Strip tags from comments also in RSS-Feeds for comments, thanks to
tmix from the forums (garvinhicking)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user