diff --git a/src/www/diag_logs_template.inc b/src/www/diag_logs_template.inc index d8ab91090..970bdb5db 100644 --- a/src/www/diag_logs_template.inc +++ b/src/www/diag_logs_template.inc @@ -59,7 +59,7 @@ if (!empty($_POST['clear'])) { } if (isset($_POST['filtertext'])) { - $filtertext = htmlspecialchars($_POST['filtertext']); + $filtertext = html_safe($_POST['filtertext']); } include("head.inc");