1 year ago

Saving "{{" in a database and showing it in the view

Posted 1 year ago by kordix

I want to make an app to store code snippets in the database and pass them to the view. Everything works fine, but if it contains double curly braces "{{ }}" it gets knotched up, the site blinks for a moment and then it shows nothing.

I tried {!! !!} , htmlentities(), html_entity_decode, and some Blade directive it does not work

Yet so simple but so annoying im searching for solution long time maybe you can help

Please sign in or create an account to participate in this conversation.