A structure-recovering parser for malformed documents.
Copyright 2007-2008 Arjun Guha. Based on HtmlPrag 0.16 Copyright (C) 2003 - 2005 Neil W. Van Dyke.
This program is Free Software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See http://www.gnu.org/copyleft/lesser.html for details. For other license options and consulting, contact the author.
Documentation
parseHtmlFromFile :: Script s => String -> IO (Either ParseError (Html SourcePos s, [Warning]))Source
parseHtmlFromString :: Script s => String -> String -> Either ParseError (Html SourcePos s, [Warning])Source
tokens :: Script s => CharParser [Warning] [Token s]Source