Update functions.php

This commit is contained in:
FusionPBX 2019-08-10 14:43:20 -06:00 committed by GitHub
parent 562f837e83
commit fa2a810db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2018,8 +2018,8 @@ function number_pad($number,$n) {
//escape user data
function escape($string) {
return htmlspecialchars($string, ENT_QUOTES, 'UTF-8');
//return htmlentities($string, ENT_QUOTES, 'UTF-8');
return htmlentities($string, ENT_QUOTES | ENT_HTML5, 'UTF-8');
//return htmlspecialchars($string, ENT_QUOTES, 'UTF-8');
}
//output pre-formatted array keys and values