Incompatible with Twig 3.x due to spaceless tag
wdttilburg opened this issue · comments
wdttilburg commented
Hi,
The spaceless tag is used in two twig templates:
- src/Resources/views/index.xml.twig
- src/Resources/views/show.xml.twig
This is deprecated in Twig 2.7 and removed in Twig 3.0, causing an error when generating the sitemap.
https://twig.symfony.com/doc/2.x/deprecated.html#tags
I ran into this issue with version sitemap-plugin v2.0.1
Stefan Doorn commented
I see I changed that already in master
: fd679af.
Not released yet, I'll have a look soon whether I can tag a new version to include this. Downside is that change doesn't allow people to use Twig <2.9 anymore, although I'm not sure that is a big issue..
wdttilburg commented
That indeed solves it
Stefan Doorn commented
Did some maintenance today, will look into a new release soon.
Stefan Doorn commented