JSFiddle - React, Tailwind, and code Playground
by Addy Osmani
JavaScript
var _$t = $('<div id="big_id"><p></p><p></p><div align="center"><a href=" http://google.com"><img vspace="4" hspace="4" border="0" alt="" src=""></a><br></div>Some text <a href=" http://google.com/">text</a> more text<a href=" http://google.com/">text again</a>, Even more text<a href=" http://google.com/"> and again</a> and even more text.</div>');
alert('TEST');
_$t.find(':empty').not('img, br, hr');
alert('TEST END');