﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
14050,shortcode_unautop() should also remove the <br /> added after shortcodes,aaroncampbell,,"Currently `wpautop()` wraps a shortcode in `<p>` tags as well as adding a `<br />` tag after the shortcode. We then use `shortcode_unautop()` to remove the `<p>` tags, but the `<br />` stays.

To replicate, just drop a few caption shortcodes into a post and set them all to align left or right. You'll see that even though they all float (assuming that's how your theme handles them) they stair step down because of the extra `<br />`

I'm not a regex expert so someone should probably double check my patch, but it seems to work for me.",defect (bug),new,normal,Future Release,Formatting,3.0,normal,,dev-feedback 3.3-early needs-refresh,aaroncampbell pauldewouters mdhansen@…
