JSFiddle - React, Tailwind, and code Playground
by dmethvin
HTML
<a class="button">this is a test</a>
<a class="button">this is another<span class="icon">hah</span> test</a>
JavaScript
// #6285
alert($('a.button:not(>.icon)').length);
alert($('a.button:not(.icon)').length);