def parseDocument(self, lines):
        # Create a ElementTree from the lines
        root = etree.Element("div")
        buffer = []
        for line in lines:
            if line.startswith("#"):
                self.parseChunk(root, buffer)
                buffer = [line]
            else:
                buffer.append(line)

        self.parseChunk(root, buffer)

        return etree.ElementTree(root)
Modifies the report with the specified :report_id. This report
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/markdown/markdown/extensions/legacy.py/MarkdownParser.parseDocument--crossover with--dataset/ETHPy150Open dssg/ushine-learning/dssg/webapp/rest_api.py/modify_report