Merge pull request #69 from Aldridgexia/warning_fix

UserWarning fix
This commit is contained in:
2018-03-01 05:43:00 -05:00
committed by GitHub
+1 -1
View File
@@ -117,7 +117,7 @@ class BaseParser:
"""`lxml <http://lxml.de>`_ representation of the
:class:`Element <Element>` or :class:`HTML <HTML>`.
"""
return soup_parse(self.html)
return soup_parse(self.html, features='html.parser')
@property
def text(self) -> _Text: