def find_lists(start_marker, tag, para):
    """ Input: A bunch of junk
    Output: None if no modification done,
    otherwise return (formatted_line, unformatted_remainder) """
    unformatted_remainder = ''
    ret = ''
    assert ('<' not in tag and '>' not in tag, "sample tag is 'ol'")
    assert (len(start_marker) == 1,
        "This code assumes start_marker's length is 1")
    if para.strip() and para[0] == start_marker:
        ul = ''
        maybe_lis = para.split('\n')
        while maybe_lis:
            maybe_li = maybe_lis[0]
            if maybe_li and maybe_li[0] == start_marker:
                li = maybe_li[1:].strip()
                ul += '<li>' + li + '</li>'
                maybe_lis = maybe_lis[1:]
            else:
                unformatted_remainder += '\n'.join(maybe_lis)
                maybe_lis = []
        ret += '<%s>' % tag + ul + '</%s>' % tag
        return ret, unformatted_remainder
