I'm using a work CMS that has an unfortunate habit of automatically inserting a break after all div and UL tags like this:

</div><br>

</ul><br>

This creates unsightly gaps below the text blocks. If I have nested bullets inside a bullet list it creates a </ul><br> at the end of the indented/nested bullets, again unsightly as there is a big gap in the middle of the list.

I can't block this behaviour as the CMS scans and inserts the code and I don't have high enough admin access to alter it. Is there any way through the stylesheet to say "if br follows div or /ul then 0px" or somesuch?