From afd4e8a7e50567a380e7dd0d7ad03910d8090cfa Mon Sep 17 00:00:00 2001 From: Geoffrey Sneddon Date: Thu, 10 Sep 2015 00:05:58 +0100 Subject: [PATCH 1/2] Also release 0.9999999 as 1.0b8. --- html5lib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html5lib/__init__.py b/html5lib/__init__.py index 962536cb..9484fdc9 100644 --- a/html5lib/__init__.py +++ b/html5lib/__init__.py @@ -22,4 +22,4 @@ "getTreeWalker", "serialize"] # this has to be at the top level, see how setup.py parses this -__version__ = "0.9999999" +__version__ = "1.0b8" From 27af6deff65fc4f0eec77accf8707e311bb8c69f Mon Sep 17 00:00:00 2001 From: Mukesh Yadav Date: Tue, 20 Sep 2016 20:15:01 +0530 Subject: [PATCH 2/2] Added kwargs --- html5lib/html5parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html5lib/html5parser.py b/html5lib/html5parser.py index 12aa6a35..a8f591ac 100644 --- a/html5lib/html5parser.py +++ b/html5lib/html5parser.py @@ -22,7 +22,7 @@ def parse(doc, treebuilder="etree", encoding=None, - namespaceHTMLElements=True): + namespaceHTMLElements=True, **kwargs): """Parse a string or file-like object into a tree""" tb = treebuilders.getTreeBuilder(treebuilder) p = HTMLParser(tb, namespaceHTMLElements=namespaceHTMLElements)