Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for error in parsing particular incorrect singletons.
When the HTML parser attempts to parse tags that should be singletons but are not, AND they have content, an exception occurs: 1> mochiweb_html:parse("<html><input><input>x</input></input></html>"). ** exception error: no case clause matching {[],[{<<"input">>,[],[<<"x">>]},{<<"input">>,[],[]}]} in function mochiweb_html:destack/2 in call from mochiweb_html:tree/2 in call from mochiweb_html:parse_tokens/1 This patch provides a fix.
- Loading branch information