Feed plugin : twig template removing `</link>`

Hi,

I have installed the “feed” pluging but generated rss feed is invalid. After analyzing, the twig template contains this code:

<link>{{ page.url(true) }}</link>

The resulting output is missing the </link> string. It looks like some process is removing it. Any other string is fine, but </link> is automatically removed after some parsing. How can I fix this please ?

Try disabling other plugins and see if the issue is still there

Thanks, I have tried that, one by one, but none of the other plugins seems to impact this.

I would try to debug the “feed” plugin itself in such case. Or report the issue on plugins GitHub repo

I have submitted the question on Github. Wait and see

Backlinking is always appreciated in such cases. On both sides

I have started a brand new instance of Grav, added all plugings, set the parameters, copied all pages. Everything works fine. I still can’t figure out what was wrong with the previous instance but I will close this thread.

1 Like