Support start/end dashes in include_template tag
#26
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_templatetag 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.
With the change from Liquid to Fluid (#47),
includewill be supported, so the custom include tag will no longer be needed.