Content Wrapped in <p> Tags?

In a twig file for a modular that I’ve created, I’m using

{{ page.content }}

to output the content. The content is being wrapped in paragraph tags. It appears that this is coming from Grav’s processing, as the content itself doesn’t contain any paragraph tags. Is my understanding that Grav is doing this correct? If so, is there a way to disable it? I want to display the content of the page along with some other text fields as a single paragraph.

page.content still gets processed by Markdown unless otherwise directed. That could be what’s happening here. It’s hard to say without seeing the files in question.

2 Likes

Well, that was simple enough. I turned off Markdown processing, and I was able to make things work as I wished. Thanks!

tags is defining in terms os paragraph. In blog posting we have to use some html tags.