diff --git a/forms/TextareaField.php b/forms/TextareaField.php index e972c2ecd..01d1d0467 100755 --- a/forms/TextareaField.php +++ b/forms/TextareaField.php @@ -47,7 +47,7 @@ class TextareaField extends FormField { return $this->createTag( 'span', $attributes, - ($this->value) ? Convert::raw2xml($this->value) : '(' . _t('FormField.NONE', 'none') . ')' + ($this->value ? $this->value : '(' . _t('FormField.NONE', 'none') . ')') ); } else { $attributes = array( @@ -60,7 +60,7 @@ class TextareaField extends FormField { if($this->disabled) $attributes['disabled'] = 'disabled'; - return $this->createTag('textarea', $attributes, Convert::raw2xml($this->value)); + return $this->createTag('textarea', $attributes, $this->value); } }