How to get rid of additional <p> when displaying markdown img tags?

Not sure if this is a glitch but when grav renders - ![Test Image ]( /images/testimage. jpg) the resulting html is

Test Image

NOT the expected - Test Image

How can I get markdown to just render img tag?

You could find the image tag in the string with twig and then replace what is before and after, but if you search on the gitter channel i know that @OleVik has posted something about this

That’s really a limitation of how markdown works. You can add a class and float the image left or right and it will overflow out of the <p> tag and render as expected.