h2o-php icon indicating copy to clipboard operation
h2o-php copied to clipboard

Disable autoescape for links_to filter

Open dbrgn opened this issue 14 years ago • 1 comments

The links_to filter by default outputs escaped HTML code. Please mark it as safe.

dbrgn avatar May 23 '11 10:05 dbrgn

I also face this issue, 4 years later.

Something like this would be awesome: http://twig.sensiolabs.org/doc/tags/autoescape.html

-- EDIT --

We can use a workaround. See:

    {autoescape off}
        (your stuff here)
    {autoescape on}

jesobreira avatar Mar 25 '15 01:03 jesobreira