'Process the children of ptag'

def process_children(self, ptag, pcss, ppcss={}):

    for c in copy.copy(ptag.contents):
        if isinstance(c, HTMLConverter.IGNORED_TAGS):
            continue
        elif isinstance(c, Tag):
            self.parse_tag(c, pcss)
        elif isinstance(c, NavigableString):
            self.add_text(c, pcss, ppcss)
    if (not self.in_table):
        try:
            if self.minimize_memory_usage:
                ptag.extract()
        except AttributeError:
            print ptag, type(ptag)
