Custom tag used for templating crashes the syntax highlight of my html code
Hello everybody,
as this is my first post I wish to thank ya' all for the great job that you're doing on this forum! phpStorm is a wonderfull tool, but its community is even greater!
So, here comes my problem. I'm using some template engine in javascript that requires the variables that are to be interpolated to be enclosed between <% %>. So for example I could write something like:
<li><%= var_name %></li>
The problem is that as soon as I type the <% part into my code, all the code that follows until end of file gets unrecognized. Bellow you can see such an example:

As I'm using quite a lot this template engine, it really bothes me.
Does anybody have an idea about how overcome this issue?
请先登录再写评论。
Is it possible that you share the file itself? I tried to reproduce that, but pasting <% %> as a placeholder doesn't break syntax highlighting for me.