Fix module library XSS

This commit is contained in:
Calvo 2022-10-31 10:19:13 +01:00
parent aae620c407
commit 7bdf103725
1 changed files with 3 additions and 1 deletions

View File

@ -154,8 +154,10 @@ $(document).ready(function() {
if (selector == "search") {
$("#search_title_result h2").append(
"<span class='pandora_green_text'>" + search_modules + "</span>"
"<span class='pandora_green_text' id='search_string'></span>"
);
$("#search_string").text(search_modules);
}
if (total_posts < 1) {