Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Autoescape true renders raw HTML in markdown

Started by amdival 6 years ago · 0 replies · 484 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 Jerry Hunt, 4 days ago
2 80 10 hours ago
General · by pamtbaau, 15 hours ago
1 51 15 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago