from bs4 import BeautifulSoup


def parse_html_for_quotes(html):
    """ Parse html for quote pattern, return list of quotes that match """
    soup = BeautifulSoup(html, features='html.parser')
    quotes = soup.find_all('li')
    return [str(q) for q in quotes if '<ul>' in str(q)]