fix potential xss woops

This commit is contained in:
lolcat
2025-07-08 23:10:13 -04:00
committed by ngn
parent 8bea7758f0
commit f7db6ba295

View File

@ -84,7 +84,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>';
} }