zanuka/dust-buster

Color syntaxes for @if helper does not work in ST3

kurdin opened this issue · 3 comments

{@if cond="foo > 0"}
 <li id="lodgingLink" class="">
  <a href=""><i class="icon-lodging"></i></a>
 </li>
{/if}

It will brake all color syntaxes after that code in Sublime Text 3 .dust templates.
This is because symbol > in cond does not handled well.

good catch @kurdin , will fix... also keep in mind that @if has been deprecated:
https://github.com/linkedin/dustjs-helpers/wiki/Deprecated-Features

fixed, v1.1.10 release tagged. package control should pick up the change within the hour: https://github.com/zanuka/dust-buster/tree/v1.1.10

Thanks! Confirmed, it works.