aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2013-12-14 09:57:57 +0100
committermarijus <mario@localhost.localdomain>2013-12-14 09:57:57 +0100
commitc3c7a068332ae08aea5eeb8eaf820e34c9cf210b (patch)
tree91548f100a940632833648211ccb9893d0ca1042 /include/text.php
parented5f725741455f9282a0dc38cd51b07e74b50ab1 (diff)
parenta4624d29791af75fea7907caa4c8cf7a1cca90a0 (diff)
downloadvolse-hubzilla-c3c7a068332ae08aea5eeb8eaf820e34c9cf210b.tar.gz
volse-hubzilla-c3c7a068332ae08aea5eeb8eaf820e34c9cf210b.tar.bz2
volse-hubzilla-c3c7a068332ae08aea5eeb8eaf820e34c9cf210b.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'include/text.php')
-rwxr-xr-xinclude/text.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php
index 042a972d1..f808fb0a0 100755
--- a/include/text.php
+++ b/include/text.php
@@ -1095,7 +1095,7 @@ function format_categories(&$item,$writeable) {
if($terms) {
$categories = array();
foreach($terms as $t) {
- $term = htmlspecialchars($t['term'],ENT_COMPAT,'UTF-8') ;
+ $term = htmlspecialchars($t['term'],ENT_COMPAT,'UTF-8',false) ;
if(! trim($term))
continue;
$removelink = (($writeable) ? z_root() . '/filerm/' . $item['id'] . '?f=&cat=' . urlencode($t['term']) : '');
@@ -1117,7 +1117,7 @@ function format_filer(&$item) {
if($terms) {
$categories = array();
foreach($terms as $t) {
- $term = htmlspecialchars($t['term'],ENT_COMPAT,'UTF-8') ;
+ $term = htmlspecialchars($t['term'],ENT_COMPAT,'UTF-8',false) ;
if(! trim($term))
continue;
$removelink = z_root() . '/filerm/' . $item['id'] . '?f=&term=' . urlencode($t['term']);