You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using juice to pack an HTML file which uses Handlebars, and I found what seems to be a bug. Here's the reproduction.
To sum it up, if we process the following HTML:
<style>
.somediv {
color: blue;
}
</style>
<!-- First example: Condition is outside of tag value and is ignored successfully -->
<div class="somediv" {{#if @first}} style="border-top: 1px solid #D7DFDF;" {{/if}}></div>
<!-- Second example: Condition is inside the tags value and the second part is dropped ( {{/if}} ) -->
<div class="somediv" style="{{#if @first}} border-top: 1px solid #D7DFDF; {{/if}}"></div>
You can see that the second example is missing its closing {{/if}}
I tried playing around and adding several, more specific, options to codeBlocks, but to no avail.
The text was updated successfully, but these errors were encountered:
Hi,
I'm using juice to pack an HTML file which uses Handlebars, and I found what seems to be a bug. Here's the reproduction.
To sum it up, if we process the following HTML:
You can see that the second example is missing its closing
{{/if}}
I tried playing around and adding several, more specific, options to
codeBlocks
, but to no avail.The text was updated successfully, but these errors were encountered: