We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 670e434 commit 160258eCopy full SHA for 160258e
1 file changed
src/treewalkers/genshistream.py
@@ -11,7 +11,9 @@ def __iter__(self):
11
depth = 0
12
ignore_until = None
13
previous = None
14
- for event in NamespaceFlattener()(self.tree):
+ for event in NamespaceFlattener(prefixes={
15
+ 'http://www.w3.org/1999/xhtml': ''
16
+ })(self.tree):
17
if previous is not None:
18
if previous[0] == START:
19
depth += 1
0 commit comments