aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-15 20:01:55 -0700
committerfriendica <info@friendica.com>2012-08-15 20:01:55 -0700
commit2358a220baad2f8dc027d9bd3cd01c34ae234968 (patch)
tree84f66d0bfb3c48d6f8409111c0b2216b5ea26eb7 /include/text.php
parent2a49460c7766d5868115689155e3b9595e5f36a2 (diff)
downloadvolse-hubzilla-2358a220baad2f8dc027d9bd3cd01c34ae234968.tar.gz
volse-hubzilla-2358a220baad2f8dc027d9bd3cd01c34ae234968.tar.bz2
volse-hubzilla-2358a220baad2f8dc027d9bd3cd01c34ae234968.zip
merge from upstream
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php3
1 files changed, 2 insertions, 1 deletions
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));
+
}}