Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

nathanselden's avatar

Did 5.3 change the way Blade echo'ed out unescaped content?

I went to push a project to production and noticed an extended load time on iphone (both safari & firefox)

After 2 days of pulling the code apart it turns out that {!! $charter->content !!} was the culprit. If I echo the escaped variable {{ $charter->content }} the page loads just fine.

The content is created using CRUD interface and is sent through Purifier\Purifier before being saved to the database and then pulled out from a controller passed to a model and then sent to the view from there.

I can provide any code samples you may need.

Does anyone have a clue on what is causing this?

I did notice the PHP version on my hosting is 5.6.23 and the server requirements call for 5.6.4 or greater, but I've been using this configuration for over a year and have run into no problems.

0 likes
2 replies
tisuchi's avatar

I am not sure why exactly it is happening. It seems everything is fine. I don't believe that, it's because of php version.

However, you may try this-

{!! html_entity_decode($text) !!}
nathanselden's avatar

Thanks for the reply. It ended up being a conflict with a plugin. I'm still investigating it but the problem is resolved

Please or to participate in this conversation.