Not on the shortcode side. But you can do a simple replace func checking for those stray p closing tags in your .Content and remove them.
If you need something fancier see this.
Not on the shortcode side. But you can do a simple replace func checking for those stray p closing tags in your .Content and remove them.
If you need something fancier see this.