You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$json = '{"time":1778853048875,"version":"2.31.0","blocks":[{"id":"mhTl6ghSkV","type":"paragraph","data":{"text":"Hey. Meet the new Editor. On this picture you can see it in action. Then, try a demo 🤓"}}]}'
BumpCore\EditorPhp\EditorPhp::make($json)->toArray();
note new Editor
result
[
"time" => 1778853048875,
"blocks" => [
[
"type" => "paragraph",
"data" => [
"text" => b"Hey. Meet the new Editor. On this picture you can see it in action. Then, try a demo 🤓",
],
],
],
"version" => "2.31.0",
]
note how "text" no longer string, but binary, replaced by space and emoji broken
Activity
Merge pull request #1 from yarkm13/77-Purifier-breaks-UTF8-chars