diff --git a/Rocksolid_Light/rocksolid/overboard.php b/Rocksolid_Light/rocksolid/overboard.php index ebd7bbf..9b0dc6b 100644 --- a/Rocksolid_Light/rocksolid/overboard.php +++ b/Rocksolid_Light/rocksolid/overboard.php @@ -370,7 +370,6 @@ function display_threads($threads, $oldest) $display .= '

'; $display .= '' . headerDecode($target_head['subject']) . '

'; $display .= '' . $target_head['newsgroup'] . ''; - // Do better than !isset($value[$target_head['msgid']]) $timetest = $oldest; if ($newonly) { $timetest = $userdata[$target_head['newsgroup']]; @@ -393,7 +392,7 @@ function display_threads($threads, $oldest) $display .= '

Posted: ' . get_date_interval(date("D, j M Y H:i T", $target_head['date'])) . ' by: ' . create_name_link($poster['name'], $poster['from']) . '

'; if ($CONFIG['article_database'] == '1') { $article = get_db_data_from_msgid($target_head['msgid'], $target_head['newsgroup'], 1); - $display .= wordwrap(substr($article['search_snippet'], 0, $snippetlength), ($snippetlength / 2), "
\n", true); + $display .= strip_tags(wordwrap(substr($article['search_snippet'], 0, $snippetlength), ($snippetlength / 2), "
\n", true)); } } $skip = $target_head['number']; @@ -431,7 +430,7 @@ function display_threads($threads, $oldest) $display .= '

Posted: ' . get_date_interval(date("D, j M Y H:i T", $target['date'])) . ' in: ' . $target['newsgroup'] . '

'; if ($CONFIG['article_database'] == '1') { $article = get_db_data_from_msgid($target['msgid'], $target['newsgroup'], 1); - $display .= htmlentities(substr($article['search_snippet'], 0, $snippetlength)); + $display .= strip_tags(htmlentities(substr($article['search_snippet'], 0, $snippetlength))); } if ($target['date'] < $expireme) { unset($this_overboard['threads'][$target['date']]);