- Issue created by @saidatom
- Status changed to Closed: outdated
9 months ago 10:07pm 23 June 2024 - Status changed to Active
4 months ago 3:07pm 18 November 2024 - 🇬🇧United Kingdom malcomio
Should this have been closed as outdated?
There's still a
spaceless
tag in https://git.drupalcode.org/project/flag/-/blob/8.x-4.x/templates/flag.ht..., and a scan with Upgrade Status → reports incompatibility with Drupal 11 in themes that have templates based on it.See also 💬 Spaceless Tag Issue Fixed
- 🇨ðŸ‡Switzerland berdir Switzerland
That's a new deprecation, its actually the new syntax proposed here.
I think a new issue makes more sense
- First commit to issue fork.
- Merge request !112Removed usage of spaceless tag in Twig templates. → (Open) created by shivam_tiwari
- 🇺🇸United States karangarske
created patch file for this. file goes in root/patches. this would be my first patch file. i tested it and patch worked. on drupal 10.4
- Status changed to Needs review
about 1 month ago 10:48am 7 February 2025 - 🇩🇪Germany Rudi Teschner
Missed one occurrence of spaceless in submodule that was pointed out as warning in upgrade status module.
File: modules/contrib/flag/modules/flag_count/templates/flag-count.html.twig
Line: 14
Warning: Since twig/twig 3.12: Twig Filter "spaceless" is deprecated. See https://drupal.org/node/3071078.File: modules/contrib/flag/templates/flag.html.twig
Line: 17
Warning: Since twig/twig 3.12: Twig Filter "spaceless" is deprecated. See https://drupal.org/node/3071078. - 🇮🇳India shivam_tiwari
@rudi teschner Thanks for informing. I updated MR also related to it.