google / bamboo-soy

An intellij plugin supporting Closure Template language (Soy)
Apache License 2.0
48 stars 27 forks source link

{literal} tag doesn't detect close #150

Closed dferrara19 closed 6 years ago

dferrara19 commented 6 years ago

The boilerplate for GA doesn't parse correctly. I get a {template} is not closed error on hover. The first {literal} command is highlighted. The second is not.

<script>
    {literal}
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'UA-YadaYada');
    {/literal}
  </script>
cjoverbay commented 6 years ago

Same problem for me, would really appreciate a fix

thso commented 6 years ago

Thanks for reporting, we'll look to fix this in the next release (should land around mid July).