]> git.mxchange.org Git - friendica.git/commitdiff
correct the invocation for htmlspecialchars to handle quote display issues with editp...
authorfriendica <info@friendica.com>
Wed, 15 Aug 2012 07:02:15 +0000 (00:02 -0700)
committerfriendica <info@friendica.com>
Wed, 15 Aug 2012 07:02:15 +0000 (00:02 -0700)
include/text.php

index 356c2fab4cf8b5de7c0591169e140da818aab422..adfa90e409992136f48a6fa2959a15e04f71a36e 100644 (file)
@@ -70,7 +70,7 @@ function notags($string) {
 if(! function_exists('escape_tags')) {
 function escape_tags($string) {
 
-       return(htmlspecialchars($string));
+       return(htmlspecialchars($string, ENT_QUOTES, 'UTF-8', false));
 }}