fix potential xss woops

This commit is contained in:
lolcat 2025-07-08 23:10:13 -04:00
parent 1a00bf8069
commit 430c0a2f0f
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ if($results["spelling"]["type"] != "no_correction"){
'&' . '&' .
$frontend->buildquery($get, true) . $frontend->buildquery($get, true) .
'&spellcheck=no">' . '&spellcheck=no">' .
$results["spelling"]["correction"] . htmlspecialchars($results["spelling"]["correction"]) .
'</a>?' . '</a>?' .
'</div>'; '</div>';
} }