Remove <p> tags from Twig's markdown_to_html() – PHP
I'm using Twig's markdown_to_html filter, and it works very well. However, in some use cases, I'd want it to generate HTML, but without the paragraph tags. For instance, from this Markdown content: Hello, this is **some Markdown** I want the…