Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Autoescape true renders raw HTML in markdown

Started by amdival 6 years ago · 0 replies · 743 views
6 years ago

I'm reading through the docs and have come across a comment on autoescape. This is not something I have been aware of. The comment is in Themes > Twig Primer > Output Tags.

I have not been amending my tags with |e nor |raw. It looks like the recommended approach is to just turn on autoescape in the system config yaml file. I changed the value to true, and went to my site to check if anything broke. The site mostly works, but my markdown is not getting properly converted to HTML. It converts, and just displays raw HTML.

Can anyone point me to where to look to fix this?
Thanks!

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 1 week ago
0 133 1 week ago
General · by lynbor, 1 month ago
3 451 2 weeks ago
General · by lynbor, 3 weeks ago
7 584 2 weeks ago
General · by Harry, 2 weeks ago
0 172 2 weeks ago
General · by Old Man Umby, 1 month ago
2 314 4 weeks ago