WPManageNinja / easy-code-manager

The High-Performance File Based Code Snippet Plugin for WP
https://fluentsnippets.com
23 stars 8 forks source link

Shortcode <p> tag Bug #19

Open totstrek opened 5 months ago

totstrek commented 5 months ago

When I write code in type: Php+Html and Use Shortcode to display the return or print content of the snippet, then in the frontend unnecessary <p> tags are inserted.

Like in my snippet I write code <div>My code</div>, then in the frontend it looks like this <p></p><div>My code</div><p></p>

These <p></p> are included in the frontend may be due to a bug?

And these causes unnecessary spaces there.

tdrayson commented 4 months ago

I tried to recreate this issue but wasn't able to. Where/how are you trying to load the shortcode?