import re


def remove_br_in_ul(content):
    """
    Get rid of <br> inside <ul> lists

    >>> remove_br_in_ul('<ul><li>abc<br></li></ul>')
    '<ul><li>abc</li></ul>'
    """
    _re_content_in_pre = re.compile(r"<ul>(.*?)</ul>", re.DOTALL)
    return re.sub(_re_content_in_pre, lambda match: match.group().replace('<br>', ''), content)