diff --git a/application/helpers/qanda_helper.php b/application/helpers/qanda_helper.php index c0e4fc5046f..c80a9231cb2 100644 --- a/application/helpers/qanda_helper.php +++ b/application/helpers/qanda_helper.php @@ -3200,6 +3200,7 @@ function do_numerical($ia) $fValue = rtrim(rtrim($fValue,"0"),"."); } $fValue = str_replace('.',$sSeparator,$fValue); + $fValue = htmlspecialchars($fValue); if ($thissurvey['nokeyboard']=='Y') {