Get rid of extra <p></p> tags


I’ve written a plugin to handle some shortcodes. The plugin returns some html.

Wordpress, in it’s wisdom, seems to want to randomly add <p> and </p> tags to that html.

Question is, how can I either stop it adding those tags or alternatively strip those tags out before displaying the html?