Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Autoescape true renders raw HTML in markdown

Started by amdival 6 years ago · 0 replies · 858 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 themetman, 23 hours ago
2 40 16 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago