Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page-level Twig incorrectly returns a URL #3589

Open
petira opened this issue May 25, 2022 · 2 comments
Open

Page-level Twig incorrectly returns a URL #3589

petira opened this issue May 25, 2022 · 2 comments

Comments

@petira
Copy link

petira commented May 25, 2022

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
Copy link
Author

petira commented Jun 3, 2022

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
Copy link
Author

petira commented Jun 15, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant