Skip to content

spaceless tag replaced with apply filter#55

Merged
bennothommo merged 1 commit into
wintercms:mainfrom
arvislacis:apply-spaceless
Jan 2, 2023
Merged

spaceless tag replaced with apply filter#55
bennothommo merged 1 commit into
wintercms:mainfrom
arvislacis:apply-spaceless

Conversation

@arvislacis

Copy link
Copy Markdown
Contributor

In this PR spaceless tag is replaced with apply spaceless Twig filter. As documented in https://github.com/wintercms/meta/blob/master/l9-upgrade-notes.md#twig for Winter 1.2. Although spaceless is backported, I think this may avoid issues in future if for any reason backported spaceless would be removed.

@LukeTowers

Copy link
Copy Markdown
Member

@bennothommo I didn't merge right away because it would mean that this plugin would no longer be compatible with < v1.2 of Winter, but I'm fine with it if you are.

@bennothommo

Copy link
Copy Markdown
Member

It should still be compatible. The apply tag was available in Twig 2 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants