aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/blockparser.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2010-07-07 11:50:41 -0400
committerWaylan Limberg <waylan@gmail.com>2010-07-07 11:50:41 -0400
commit9b1de64b9e4a049f3fd5c9efc343f0e37f7ce457 (patch)
tree7e37c4df91f008c0dbf58718d15a955b9d4b376d /markdown/blockparser.py
parenta33a04439905851b5b1a5db4104ec3a11b4ab1d3 (diff)
downloadmarkdown-9b1de64b9e4a049f3fd5c9efc343f0e37f7ce457.tar.gz
markdown-9b1de64b9e4a049f3fd5c9efc343f0e37f7ce457.tar.bz2
markdown-9b1de64b9e4a049f3fd5c9efc343f0e37f7ce457.zip
A better implementation of globals as attributes on the Markdown class. This should be more future proof.
Diffstat (limited to 'markdown/blockparser.py')
-rw-r--r--markdown/blockparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/blockparser.py b/markdown/blockparser.py
index 533b695..fae136c 100644
--- a/markdown/blockparser.py
+++ b/markdown/blockparser.py
@@ -58,7 +58,7 @@ class BlockParser:
"""
# Create a ElementTree from the lines
- self.root = util.etree.Element(self.markdown.DOC_TAG)
+ self.root = util.etree.Element(self.markdown.doc_tag)
self.parseChunk(self.root, '\n'.join(lines))
return util.etree.ElementTree(self.root)