I have a simple markdown list that translates to a <ul>. However, somehow for every item a <p> is generated and my theme has a very big margin-bottom for the <p> tag.
<ul>
<p>
margin-bottom
Is there a way to avoid these <p> tags to be generated inside unordered lists?
Hi! Are you using the default Markdown engine, i.e. Blackfriday, in Hugo?
Blackfriday (hence Hugo) usually doesn’t add the <p> tag, and I was unable to reproduce the problem you’re seeing.
Do you have an example that we can look at?
Also could be helpful is this issue: https://github.com/gohugoio/hugo/issues/1642
That isn’t expected behavior. Share you code and someone can help you troubleshoot that.