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

Twig include inside <style> messes following highlighting up #38

Open
lxg opened this issue Jan 5, 2017 · 0 comments
Open

Twig include inside <style> messes following highlighting up #38

lxg opened this issue Jan 5, 2017 · 0 comments

Comments

@lxg
Copy link

lxg commented Jan 5, 2017

Inside a Twig/HTML file, the following code breaks all following code’s highlighting:

    <style type="text/css">
    {% include "FoobarBundle:Foo:bar.css.twig" %}
    </style>

(If anybody wonders why the styles are loaded into the template, this is for usage with @dompdf where the CSS will be processed on the server side.)

I’m not familiar enough with the code to provide a patch, but I’d be happy to test and/or provide more feedback.

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

1 participant