Hi! I am currently working on creating an info web using contentful and hugo to generate a website. Everything works fine except one part: the markdown file generated from Contentful has a part called body, which I use {{ .Params.body | markdownify }} on in order to render the HTML code. The problem is that the first line of text in the body appears outside the p-tags in the generated HTML code
Example:
.md file:
body: |-
Example1
Example2
Example3
.html file:
Example1
(p-tag) (ending p-tag)
(p-tag) Example2 (ending p-tag)
(p-tag)Example3(ending p-tag)
I can’t find any relevant info regarding this problem on the web… If anyone has some knowledge about this I would be very pleased!
BR Adam