I just encountered weird problem. My shortcode output which is something like
'<span class="link_container"><a href="#">'.$content.'</a></span>
<div class="upgrade_box">
some more divs here
</div>'
is being broken by random </p>
closing tag inserted after </span>
Changing wpautop priority didn't work. The only solution that seemed to work was removing wpautop filter altogether which is obviously not that great of a solution.
P.S. I'm using wp 2015 theme on my testing site so it's not some theme forest theme ppl seem to have problems with.