adrano Posted April 29, 2018 Share Posted April 29, 2018 I need to render some content without autoescaping and without modify the template just based on content Exists a function inside twig to render a variable ? suppose x="{%autoescape false%} abc {%endautoescape%}" than something like <p>{{ render(x)}}</p> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now