Add new-line support to HTML text extractor