diff --git a/inc/Form/TextareaElement.php b/inc/Form/TextareaElement.php index 9d461fdf5b7de16db312f3d2eb95aca3044dbe93..92741eecb0c272ffef54cfd98bc0ba2352c7b3ab 100644 --- a/inc/Form/TextareaElement.php +++ b/inc/Form/TextareaElement.php @@ -31,7 +31,7 @@ class TextareaElement extends InputElement { */ public function val($value = null) { if($value !== null) { - $this->text = $value; + $this->text = cleanText($value); return $this; } return $this->text;