fixed a small issue on the Document score_paragraphs method

pull/10/head
facundo 12 years ago
parent fc6a500298
commit bb93ae1e5f

@ -196,7 +196,7 @@ class Document:
#self.debug(str([describe(node) for node in self.tags(self.html, "div")]))
ordered = []
for elem in self.tags(self.html, "p", "pre", "td"):
for elem in self.tags(self._html(), "p", "pre", "td"):
parent_node = elem.getparent()
if parent_node is None:
continue

Loading…
Cancel
Save