The platform I'm building a website on produces empty p tags in wysiwyg mode. How can I take these out?

Something like this, perhaps...

$("<p> </p>").remove();

Although the code above does nothing.

Edit
Report