Change filter spaceless to apply spaceless and endapply. As spaceless was deprecated since Twig 2.7

Created on 22 February 2023, over 1 year ago
Updated 9 March 2023, over 1 year ago

Problem/Motivation

Proposed resolution

  • Use the apply tag from Twig, and pass the spaceless filter.
  • Change {% spaceless %} to {% apply spaceless %}
  • Change {% endspaceless %} to {% endapply %}

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.12 , varbase_bootstrap_paragraphs-9.0.11

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3343681 : Changed filter spaceless to apply spaceless and endapply. As spaceless was deprecated since Twig 2.7
📌 Task
Status

Fixed

Version

9.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024