I want to use Image Render Hooks and resulting HTML I want to use the figure tag (more or less exactly the way it’s done on the Hugo doc page), but it doesn’t make sense to use that if the image is wrapped in a p-tag which is what seem to happen on my site.
Is there some way to stop the image tag from being inside a p-tag?