Skip to content

Deprecations: replace spaceless #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Nov 1, 2024

Conversation

joesenova
Copy link
Collaborator

As per the Twig Documentation :: Filters/Spaceless

Removed the Spaceless filter |spaceless and apply block apply spaceless

Old:

{{ "<div> <strong>foo</strong> </div> "|spaceless }}

{% apply spaceless %} <div> <strong>foo</strong> </div> {% endapply %}

New:

{%- __ -%} <div> <strong>foo</strong> </div> {%- end__ -%}

Johan Kasselman and others added 7 commits July 25, 2023 17:06
Upgraded bundle to work with Twig3
Add Forked comment to ReadMe
Add Myself to authors list
…der might add "TreeBuilder" as a native return type declaration in the future.
Replaced with {%- -%} as per Twig docuentation
@joesenova
Copy link
Collaborator Author

@gonzaloalonsod Please check the code, and let me know if all is in order.

Also, we can squash this PR's commits.

@joesenova joesenova merged commit cf7f110 into MWSimple:master Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant