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?
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.