'Returns a list of nodes we want to search
on like paragraphs and tables'

def nodes_to_check(self, doc):

    nodes_to_check = []
    for tag in ['p', 'pre', 'td']:
        items = self.parser.getElementsByTag(doc, tag=tag)
        nodes_to_check += items
    return nodes_to_check
