<div>
<p><a href="#">link</a> some text</p>
<p><a href="#">link</a></p>
<p><a href="#">link</a> some text</p>
<p><a href="#">link</a></p>
</div>
I want to find (and addClass to) the <p>
tags that DO NOT contain text, directly inside itself or its children.