The issue here is that we loose all the color syntaxing and validation of the IDE.
I think that we should have a new option for the Liquid check to does not count a block as soon as it contains a HTML code. In this case, the whole if condition should count as "0" line of Liquid if this option would be enabled.
Of course, a better solution would be to improve the Liquid tag to allow outputting HTML inside.
Hi,
As of today, the Liquid tag is actually extremely annoying to use as soon as you have HTML mixed inside the Liquid. Take for instance this code:
Converting it to Liquid tag is simple, but once this line is hit:
This becomes something like this:
The issue here is that we loose all the color syntaxing and validation of the IDE.
I think that we should have a new option for the Liquid check to does not count a block as soon as it contains a HTML code. In this case, the whole if condition should count as "0" line of Liquid if this option would be enabled.
Of course, a better solution would be to improve the Liquid tag to allow outputting HTML inside.