Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable autoescape for links_to filter #34

Open
dbrgn opened this issue May 23, 2011 · 1 comment
Open

Disable autoescape for links_to filter #34

dbrgn opened this issue May 23, 2011 · 1 comment

Comments

@dbrgn
Copy link

dbrgn commented May 23, 2011

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

@jesobreira
Copy link

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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants