- Removed sprintf which was causing problems with it's own escaping mechanism while using it in a view
This commit is contained in:
1 parent
164a27d267
commit
3a930c13b1
2 files changed
+7
-2
No files matched your search
@@ -22,7 +22,9 @@ class UiTextarea extends UiInput {
|
||||
$this->echoRaw = true;
|
||||
}
|
||||
|
||||
return sprintf("<?php echo ( new \\" . static::class . "() )->echoRaw(%s)->buildHtml($arguments) ?>", $this->echoRaw ? 'true' : 'false');
|
||||
$raw = $this->echoRaw ? 'true' : 'false';
|
||||
|
||||
return "<?php echo ( new \\" . static::class . "() )->echoRaw($raw)->buildHtml($arguments) ?>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user