grav icon indicating copy to clipboard operation
grav copied to clipboard

Page-level Twig incorrectly returns a URL

Open petira opened this issue 3 years ago • 2 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.

petira avatar May 25 '22 12:05 petira

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.

petira avatar Jun 03 '22 07:06 petira

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

More info: https://github.com/trilbymedia/grav-plugin-page-toc/issues/21.

petira avatar Jun 15 '22 12:06 petira