fixed escaping
This commit is contained in:
parent
6818c2854e
commit
d7ed051fab
@ -49,8 +49,6 @@ function plugin_lastcomments_widget() {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
comment_clean($arr);
|
|
||||||
|
|
||||||
$content .=
|
$content .=
|
||||||
"<li>
|
"<li>
|
||||||
<blockquote class=\"comment-quote\" cite=\"comments.php?entry={$arr['entry']}#{$arr['id']}\">
|
<blockquote class=\"comment-quote\" cite=\"comments.php?entry={$arr['entry']}#{$arr['id']}\">
|
||||||
@ -102,6 +100,8 @@ function plugin_lastcomments_cache($entryid, $comment) {
|
|||||||
|
|
||||||
list($id, $content) = $comment;
|
list($id, $content) = $comment;
|
||||||
|
|
||||||
|
comment_clean($content);
|
||||||
|
|
||||||
|
|
||||||
if (false===($f = io_load_file(LASTCOMMENTS_CACHE_FILE))) {
|
if (false===($f = io_load_file(LASTCOMMENTS_CACHE_FILE))) {
|
||||||
// no comments in cache
|
// no comments in cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user