|print-width--------------------------------------------------------------------|
In HTMLElement children array,
it should add wtc if the liquid tag breaks on a new line and its children are whitespace sensitive and there wasn't whitespace to begin with
{% if condition -%}
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
{%- endif %}
it should add wtc if the liquid tag breaks on a new line, the node is
leading/trailing space sensitive, and there was no leading/trailing whitespace
{%- if condition -%}
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
{%- endif -%}
![]()
{%- if condition %}aaaaaa{% endif %}
it should not add wtc if the liquid drop breaks on a new line and the
previous/next characters were spaces
{% if condition %}
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
{% endif %}
--------------------------------------------------------------------------------
In LiquidTag children array,
If it breaks and the htmlWhitespaceSensitivity is 'strict', then add whitespace stripping
htmlWhitespaceSensitivity: 'strict'
printWidth: 30
{% form 'cart' -%}
aaaaaaaaaaaa
{%- endform %}
If it breaks and the htmlWhitespaceSensitivity is 'ignore', then omit whitespace stripping
htmlWhitespaceSensitivity: "ignore"
printWidth: 30
{% if A %}
aaaaaaaaaaaa
{% endif %}
If it breaks and the node is display: inline add whitespace stripping
printWidth: 30
{% form 'cart' -%}
aaaaaaaaaaaa
{%- endform %}
When it does break, there was a whitespace, and the parent is not
leading/trailing space sensitive, it should not change anything
{% form 'cart' %}
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
{% endform %}
--------------------------------------------------------------------------------
In LiquidBranch children array,
when it does break and there was a whitespace, it should not change anything
{% if true %}
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
{% endif %}
when it does break and there wasn't whitespace, it should add WTCs
{% if true -%}
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
{%- endif %}
--------------------------------------------------------------------------------
In paragraphs,
it should add wtc if the liquid drop breaks next to a character (but not if not)
Hey
{% if true %}
buddyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
{%- endif -%}
, how are you doing? boo
{%- if true -%}
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooom!
{%- endif %}