From: friendica Date: Wed, 15 Aug 2012 07:02:15 +0000 (-0700) Subject: correct the invocation for htmlspecialchars to handle quote display issues with editp... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4654ebd43b6c7afcb806ed949830e7ec39b693b7;p=friendica.git correct the invocation for htmlspecialchars to handle quote display issues with editplain and reshare --- diff --git a/include/text.php b/include/text.php index 356c2fab4c..adfa90e409 100644 --- a/include/text.php +++ b/include/text.php @@ -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)); }}