aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/plaintext.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 15:34:33 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 15:34:33 +0000
commitc05e56381cac6ed2c26d71df64f15b1ef9491066 (patch)
tree2c700074392ccde42713a79f2ea4d309f70cec6c /views/default/input/plaintext.php
parentc0b2b602d445403cf541b6ec2ce24654c4650fde (diff)
downloadelgg-c05e56381cac6ed2c26d71df64f15b1ef9491066.tar.gz
elgg-c05e56381cac6ed2c26d71df64f15b1ef9491066.tar.bz2
fixing a few bugs introduced last night in the input views
git-svn-id: http://code.elgg.org/elgg/trunk@8158 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/plaintext.php')
-rw-r--r--views/default/input/plaintext.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/default/input/plaintext.php b/views/default/input/plaintext.php
index a0a8a3949..05018e1ed 100644
--- a/views/default/input/plaintext.php
+++ b/views/default/input/plaintext.php
@@ -7,13 +7,13 @@
* @subpackage Core
*
* @uses $vars['value'] The current value, if any
- * @uses $vars['js'] Any Javascript to enter into the input tag
* @uses $vars['internalname'] The name of the input field
- *
+ * @uses $vars['class']
+ * @uses $vars['disabled']
*/
$defaults = array(
- 'class' => 'elgg-input-textarea'
+ 'class' => 'elgg-input-textarea',
'disabled' => FALSE,
);
@@ -24,5 +24,5 @@ $attrs = array_merge($defaults, $vars);
?>
<textarea <?php echo elgg_format_attributes($attrs); ?>>
- <?php echo htmlentities($value, ENT_QUOTES, 'UTF-8'); ?>
+ <?php echo htmlspecialchars($value, ENT_QUOTES, 'UTF-8', false); ?>
</textarea>