diff options
-rw-r--r-- | markdown/extensions/attr_list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/attr_list.py b/markdown/extensions/attr_list.py index c897a9c..9f6a99a 100644 --- a/markdown/extensions/attr_list.py +++ b/markdown/extensions/attr_list.py @@ -83,7 +83,7 @@ class AttrListTreeprocessor(Treeprocessor): r'\:\-\.0-9\u00b7\u0300-\u036f\u203f-\u2040]+') def run(self, doc): - for elem in doc.getiterator(): + for elem in doc.iter(): if isBlockLevel(elem.tag): # Block level: check for attrs on last line of text RE = self.BLOCK_RE |