Fixed 'img' tags, removed utf8_encode since it's deprecated and readded echoRaw from textarea widget
This commit is contained in:
1 parent
ea780c697e
commit
fd4e30bd42
3 files changed
+12
-4
No files matched your search
@@ -25,9 +25,15 @@ class UiTextarea extends UiInput {
|
||||
|
||||
return "<?php echo ( new \\" . static::class . "(raw: $raw) )->buildHtml($arguments) ?>";
|
||||
}
|
||||
|
||||
protected function setValue($value) : void
|
||||
{
|
||||
$this->echoRaw ? $this->html($value) : $this->text($value);
|
||||
}
|
||||
|
||||
protected function echoRaw(bool $value) : self
|
||||
{
|
||||
$this->echoRaw = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user