Permalink
Browse files

Minor BeautifulSoup workaround

  • Loading branch information...
1 parent 453c5ad commit 989b3e174a4a76980b41af63d862fd5a232a7a77 @buffer committed Mar 30, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/DOM/W3C/HTML/HTMLElement.py
@@ -39,8 +39,8 @@ def getInnerHTML(self):
def setInnerHTML(self, html):
soup = BeautifulSoup.BeautifulSoup(html, "html5lib")
-
- for node in soup.body.children:
+
+ for node in list(soup.body.children):
self.tag.append(node)
for node in self.tag.descendants:

0 comments on commit 989b3e1

Please sign in to comment.