Every time I upgrade to latest version I have to remove following code from wp-includes/media.php
<br style="clear: both" /> at line 775
If I don't remove it, I got a large gap after first image line in gallery.
Is this a WP or my Theme bug?
How can I fix this with plugin, so I don't have to edit include files on each upgrade?