aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/longtext.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-10 14:32:34 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-10 14:32:34 +0000
commit7c884b14bd0d1a9d7bebe314e27ebd74ec0726ee (patch)
treecd8dbe67446cfa1988714782da642be60155e9a1 /views/default/input/longtext.php
parent65001decf7a36cffd077575229b4dd9239a48315 (diff)
downloadelgg-7c884b14bd0d1a9d7bebe314e27ebd74ec0726ee.tar.gz
elgg-7c884b14bd0d1a9d7bebe314e27ebd74ec0726ee.tar.bz2
Refs #756: htmlentities on all input views
git-svn-id: https://code.elgg.org/elgg/trunk@2704 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/longtext.php')
-rw-r--r--views/default/input/longtext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php
index c28028217..ef7cd0efb 100644
--- a/views/default/input/longtext.php
+++ b/views/default/input/longtext.php
@@ -22,4 +22,4 @@
?>
-<textarea class="<?php echo $class; ?>" name="<?php echo $vars['internalname']; ?>" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> <?php echo $vars['js']; ?>><?php echo $vars['value']; ?></textarea> \ No newline at end of file
+<textarea class="<?php echo $class; ?>" name="<?php echo $vars['internalname']; ?>" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> <?php echo $vars['js']; ?>><?php echo htmlentities($vars['value'], null, 'UTF-8'); ?></textarea> \ No newline at end of file