aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/calendar.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-10 18:36:31 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-10 18:36:31 +0000
commit2dafe0c1880b922d75a288f371fa976066589fd7 (patch)
treedb0704ce5abbb65812c56745532b12358bcd0264 /views/default/output/calendar.php
parent5788ca8fea363eb5b5298a46b7f087ff3bec953d (diff)
downloadelgg-2dafe0c1880b922d75a288f371fa976066589fd7.tar.gz
elgg-2dafe0c1880b922d75a288f371fa976066589fd7.tar.bz2
Closes #756: htmlentities on all output forms
git-svn-id: https://code.elgg.org/elgg/trunk@2711 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output/calendar.php')
-rw-r--r--views/default/output/calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/output/calendar.php b/views/default/output/calendar.php
index cefe9577c..e31290e6a 100644
--- a/views/default/output/calendar.php
+++ b/views/default/output/calendar.php
@@ -18,7 +18,7 @@
if (is_int($vars['value'])) {
echo date("F j, Y", $vars['value']);
} else {
- echo $vars['value'];
+ echo htmlentities($vars['value'], null, 'UTF-8');
}
?> \ No newline at end of file