aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/plaintext.php
diff options
context:
space:
mode:
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>