Closed Rykus0 closed 9 months ago
Describe the bug Error raised when there is an if within a capture
if
capture
Unformatted source
{% capture header %} <header> <h1>{{ title }}</h1> {% if item_count > 0 %} <p>You are <b>$13.00</b> away from <b>free shipping</b>!</p> <progress max="100" value="75"> {% else %} <p>{{ help_text_empty }}</p> {% endif %} </header> {% endcapture %}
Expected output No error
Actual output LiquidHTMLParsingError: Attempting to close LiquidTag 'if' before LiquidBranch 'null' was closed
Debugging information
Additional context Add any other context about the problem here.
Nevermind - this is my mistake. It was the unclosed <progress> that was the problem.
<progress>
Describe the bug Error raised when there is an
if
within acapture
Unformatted source
Expected output No error
Actual output LiquidHTMLParsingError: Attempting to close LiquidTag 'if' before LiquidBranch 'null' was closed
Debugging information
Additional context Add any other context about the problem here.