fixed escaping

This commit is contained in:
real_nowhereman 2010-04-18 07:58:55 +00:00
parent 6818c2854e
commit d7ed051fab

View File

@ -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