From 4654ebd43b6c7afcb806ed949830e7ec39b693b7 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 15 Aug 2012 00:02:15 -0700 Subject: [PATCH] correct the invocation for htmlspecialchars to handle quote display issues with editplain and reshare --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }}