From 2358a220baad2f8dc027d9bd3cd01c34ae234968 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 15 Aug 2012 20:01:55 -0700 Subject: merge from upstream --- include/text.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index f6c403388..d49b2269c 100644 --- a/include/text.php +++ b/include/text.php @@ -70,7 +70,8 @@ function notags($string) { if(! function_exists('escape_tags')) { function escape_tags($string) { - return(htmlspecialchars($string)); + return(htmlspecialchars($string, ENT_QUOTES, 'UTF-8', false)); + }} -- cgit v1.2.3