# HG changeset patch # User cmlenz # Date 1156446732 0 # Node ID eb0ba1060564dc78713777877d3e18e8bf55af1f # Parent f5952780267a468090ed626740bd1aaf5af8f65d Fix refactoring leftover from [242]. Closes #40. diff --git a/markup/plugin.py b/markup/plugin.py --- a/markup/plugin.py +++ b/markup/plugin.py @@ -35,7 +35,7 @@ if element.text: yield Stream.TEXT, element.text, (None, -1, -1) for child in element.getchildren(): - for item in et_to_stream(child): + for item in ET(child): yield item yield Stream.END, tag_name, (None, -1, -1) if element.tail: