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
The Liquid templating language specifies that, if a tag starts with {%- or ends with -%}, if there is a line break immediately before or after that tag, it will not be preserved. Currently, the custom include_template tag does not support this, as it's implemented as a regular expression that is replaced when the template is initially read.
Modify the processing for this tag to support the no-new-line options the way other Liquid tags do.
The text was updated successfully, but these errors were encountered:
danieljsummers
changed the title
Let include_template support dashes in tag
Support start/end dashes in include_template tag
Jul 26, 2022
The Liquid templating language specifies that, if a tag starts with
{%-
or ends with-%}
, if there is a line break immediately before or after that tag, it will not be preserved. Currently, the custominclude_template
tag does not support this, as it's implemented as a regular expression that is replaced when the template is initially read.Modify the processing for this tag to support the no-new-line options the way other Liquid tags do.
The text was updated successfully, but these errors were encountered: