'Called for each start tag; attrs is a list of (attr, value) tuples.'

def unknown_starttag(self, tag, attrs):

    if self.ignore_content:
        self.num_open_tags_for_ignore += 1
        return
    embedded_item = False
    for attribute in attrs:
        if ((attribute[0] == 'class') and ('embedded-item' in attribute[1].split('    '))):
            embedded_item = True
            break
    if embedded_item:
        self.ignore_content = True
        self.num_open_tags_for_ignore = 1
        for attribute in attrs:
            name = attribute[0]
            if (name == 'id'):
                (item_class, item_id) = attribute[1].split('-')
                embed_html = self.render_embed_html_fn(self.trans, item_class, item_id)
                self.pieces.append(embed_html)
        return
    _BaseHTMLProcessor.unknown_starttag(self, tag, attrs)
