Add Markdown preview for textarea, see #407
This commit is contained in:
@@ -445,7 +445,6 @@ function form_textarea($name, $values = array(), array $errors = array(), array
|
||||
$html .= implode(' ', $attributes).'>';
|
||||
$html .= isset($values->$name) ? escape($values->$name) : isset($values[$name]) ? $values[$name] : '';
|
||||
$html .= '</textarea>';
|
||||
if (in_array('required', $attributes)) $html .= '<span class="form-required">*</span>';
|
||||
$html .= error_list($errors, $name);
|
||||
|
||||
return $html;
|
||||
|
||||
Reference in New Issue
Block a user