diff options
Diffstat (limited to 'lib/template.php')
-rw-r--r-- | lib/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/template.php b/lib/template.php index ed2481afba2..ad25dbcff51 100644 --- a/lib/template.php +++ b/lib/template.php @@ -25,7 +25,7 @@ * Prints an XSS escaped string * @param string $string the string which will be escaped and printed */ -function p($string){ +function p($string) { print(OC_Util::sanitizeHTML($string)); } @@ -33,7 +33,7 @@ function p($string){ * Prints an unescaped string * @param string $string the string which will be printed as it is */ -function print_unescaped($string){ +function print_unescaped($string) { print($string); } |