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
@@ -38,7 +38,7 @@ class FormContext implements FormContextInterface
|
||||
$this->values = $request->getParsedBody() ?: [];
|
||||
|
||||
if ( ! $this->values ) {
|
||||
$content = utf8_encode((string) $request->getBody());
|
||||
$content = mb_convert_encoding((string) $request->getBody(), 'UTF-8');
|
||||
|
||||
if ( $content && ( $json = json_decode($content, true) ) ) {
|
||||
$this->values = $json;
|
||||
|
||||
Reference in new issue
Block a user