aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/tags.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 13:33:16 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 13:33:16 +0000
commite658fb3a978e40653d72ef33549177c87cb714ce (patch)
treeea2d6915df13ff06b36960cf39e3e91bbee14b50 /views/default/output/tags.php
parentd318c0249ea50907b8b3cbac3a6a6293abf2c0d7 (diff)
downloadelgg-e658fb3a978e40653d72ef33549177c87cb714ce.tar.gz
elgg-e658fb3a978e40653d72ef33549177c87cb714ce.tar.bz2
Closes #651: I agree, changed to convert both quotes.
git-svn-id: https://code.elgg.org/elgg/trunk@2979 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output/tags.php')
-rw-r--r--views/default/output/tags.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/output/tags.php b/views/default/output/tags.php
index d3d9522bc..d437475f6 100644
--- a/views/default/output/tags.php
+++ b/views/default/output/tags.php
@@ -46,7 +46,7 @@
$type = "";
}
if (is_string($tag)) {
- $tagstr .= "<a rel=\"tag\" href=\"{$vars['url']}tag/".urlencode($tag) . "{$type}{$subtype}{$object}\">" . htmlentities($tag, null, 'UTF-8') . "</a>";
+ $tagstr .= "<a rel=\"tag\" href=\"{$vars['url']}tag/".urlencode($tag) . "{$type}{$subtype}{$object}\">" . htmlentities($tag, ENT_QUOTES, 'UTF-8') . "</a>";
}
}
echo $tagstr;