8000 Small fix re doctype tokens in the Genshi tree walker. · html5lib/html5lib-python@6a496ed · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a496ed

Browse files
committed
Small fix re doctype tokens in the Genshi tree walker.
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40789
1 parent ddd8755 commit 6a496ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/treewalkers/genshistream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def tokens(self, event, next):
5555
yield token
5656

5757
elif kind == DOCTYPE:
58-
yield self.doctype(data)
58+
yield self.doctype(data[0])
5959

6060
elif kind in (XML_DECL, DOCTYPE, START_NS, END_NS, \
6161
START_CDATA, END_CDATA, PI):

0 commit comments

Comments
 (0)
0