getgrav / grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony

Home Page:https://getgrav.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Page-level Twig incorrectly returns a URL

petira opened this issue · comments

If I use page-level Twig, it does not process the ...<a href="{{ p.url }}">... link, but returns an escaped code https://www.example.com/%7B%7B%20p.url%20%7D%7D.

I use Grav v1.7.33. In some previous versions, it worked fine. The rest of Twig is working fine now.

Currently, it looks like there has been an incorrect update to Grav v1.7.33. It works on other sites. I will try to reinstall it.

I discovered the cause of the problem, it is caused by the enabled Page Toc plugin.

More info: trilbymedia/grav-plugin-page-toc#21.