aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/longtext.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/longtext.php')
-rw-r--r--views/default/input/longtext.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php
index 6366f8a3d..1020ef640 100644
--- a/views/default/input/longtext.php
+++ b/views/default/input/longtext.php
@@ -18,4 +18,9 @@ $defaults = array(
'class' => 'input-richtext',
);
-echo elgg_view('html/textarea', array_merge($defaults, $vars)); \ No newline at end of file
+$value = $vars['value'];
+unset($vars['value']);
+
+$attributes = html5_get_html_attributes(array_merge($defaults, $vars));
+
+echo "<textarea $attributes>$value</textarea>"; \ No newline at end of file