Closed schmittjoh closed 13 years ago
It seems like highlighting doesn't work when inside a <script> tag. Some example code:
<script>
{% block javascripts %} {{ parent() }} <script language="javascript" type="text/javascript"> init_profile({{ path("latest_posts")|json_encode|raw }}); </script> {% endblock %}
In the above example {{ path("latest_posts")|json_encode|raw }} is not highlighted as Twig code.
{{ path("latest_posts")|json_encode|raw }}
good catch, thanks. i'll add it to the grammar.
please update to the current version, you should get highlighting in javascript tags there.
Yes works, thanks
It seems like highlighting doesn't work when inside a
<script>
tag. Some example code:In the above example
{{ path("latest_posts")|json_encode|raw }}
is not highlighted as Twig code.