'Return a copy of a title, with references, images, etc. removed.'

def copy_and_filter(self, node):

    visitor = ContentsFilter(self.document)
    node.walkabout(visitor)
    return visitor.get_entry_text()
