Convert special characters to HTML entities in overboard.php

This commit is contained in:
Retro_Guy 2021-05-28 05:42:08 +00:00
parent cd883734fa
commit d94ea073ed
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ foreach($files as $article) {
} else {
$mysnippet = substr($mysnippet, 0, $snippetlength);
}
echo "<p class=np_ob_body>".$mysnippet."</p>\r\n";
echo "<p class=np_ob_body>".htmlspecialchars($mysnippet, ENT_QUOTES)."</p>\r\n";
echo '</td></tr>';
if($results++ > ($maxdisplay - 2))
break;