I don’t want to have to write {$var|htmlentities}
like this every time I output content that needs to be escaped... Is there a quick way to escape the output?
Similar to laravel’s {{$var}}
like this
I don’t want to have to write {$var|htmlentities}
like this every time I output content that needs to be escaped... Is there a quick way to escape the output?
Similar to laravel’s {{$var}}
like this
No, if there is, it is another template engine
You can consider porting blade to tp