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

jmacdiarmid's avatar

Laravel 9 escape curly brackets not working in a component

I have a free admin template and I've separated the top-navbar, left and right sidebars as well as the footer into their respective components. In my right-navbar, I'm having an issue where curly braces are not recognized as laravel escape symbols and are being included in the "scr=" parameter of an tag. For example I have <img src="{{ asset('admin/images/image1.png') }}" alt="" /> The source code output to the browser is rendered as <img src=" {{ https:/mysite.test/admin/images/image1.png }}" alt=""/> All other components including the ones I mentioned above are working fine.

Pastebin: https://pastebin.com/23YAt3BQ

I'm using the free version of the Skydash Admin template. https://bootstrapdash.com/demo/skydash-free/template/

Any idea what would cause this issue?

0 likes
4 replies
siangboon's avatar
Level 54

double check whether typo error on .blade file extension naming...

jmacdiarmid's avatar

@Sinnbeck Correct. I went back to look again and it was glaring at me. No, ".blade" ugh! So frustrating. lol

Thank you for pointing that out. :)

Please or to participate in this conversation.