@cerbix you can escape curly braces by prefixing them with @.
@{{
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
My website generates some scripts that contains code that users can copy and paste into their website.
Unfortunately the code generated for users happens to also use double curly braces in it, which of course conflicts with Laravel/Blade, and then Laravel tries to render it as a variable, which then doesn't exist and throws an error, or returns a blank page.
Is there a way to display {{ }} as raw text? I've also tried HTML entities like & # 123; and & # 125;
But laravel still assumes I'm trying to pull in a variable, instead of just displaying it as text.
Any solutions for this? Thanks
Double braces passed to the client will also be interpreted by vue if you also have this loaded
Either disable vue altogether or tell it to ignore the braces with v-pre
Please or to participate in this conversation.