User:Lord Farin/common.js

// For all empty paragraphs (multiple empty lines), test if the successor is an H2 element $(".ns-2 p br:only-child").parent.filter(function { return $(this).next("h2").length }).remove;