aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/treeprocessors.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/treeprocessors.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/treeprocessors.py')
-rw-r--r--markdown/treeprocessors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/treeprocessors.py b/markdown/treeprocessors.py
index 50df486..9178afa 100644
--- a/markdown/treeprocessors.py
+++ b/markdown/treeprocessors.py
@@ -287,7 +287,7 @@ class InlineProcessor(Treeprocessor):
if child.getchildren():
stack.append(child)
- if self.markdown.ENABLE_ATTRIBUTES:
+ if self.markdown.enable_attributes:
for element, lst in insertQueue:
if element.text:
element.text = \