diff options
Diffstat (limited to 'markdown/extensions/md_in_html.py')
| -rw-r--r-- | markdown/extensions/md_in_html.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/markdown/extensions/md_in_html.py b/markdown/extensions/md_in_html.py index 2a0c443..500c166 100644 --- a/markdown/extensions/md_in_html.py +++ b/markdown/extensions/md_in_html.py @@ -18,6 +18,7 @@ from . import Extension from ..blockprocessors import BlockProcessor from .. import util import re +import xml.etree.ElementTree as etree class MarkdownInHtmlProcessor(BlockProcessor): @@ -52,7 +53,7 @@ class MarkdownInHtmlProcessor(BlockProcessor): # Create Element markdown_value = tag['attrs'].pop('markdown') - element = util.etree.SubElement(parent, tag['tag'], tag['attrs']) + element = etree.SubElement(parent, tag['tag'], tag['attrs']) # Slice Off Block if nest: |
