summaryrefslogtreecommitdiff
path: root/markdown/preprocessors.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2015-12-29 18:28:13 -0500
committerWaylan Limberg <waylan.limberg@icloud.com>2015-12-29 18:28:13 -0500
commiteac0cc2ac97fd1aeaf8a267917eb09fbf3b53ab2 (patch)
tree159fbb946e893001a4c48c48be99b8ef31d1c824 /markdown/preprocessors.py
parentb0ff2da7172e411c312f228290968f63de3bdf81 (diff)
downloadpython-markdown-md3.tar.gz
Cleanup backport of 2.6.x bugfixes.md3
Diffstat (limited to 'markdown/preprocessors.py')
-rw-r--r--markdown/preprocessors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/preprocessors.py b/markdown/preprocessors.py
index be1b504..74d1c9f 100644
--- a/markdown/preprocessors.py
+++ b/markdown/preprocessors.py
@@ -179,7 +179,7 @@ class HtmlBlockPreprocessor(Preprocessor):
right_listindex -= 1
if right_listindex <= i:
right_listindex = i + 1
- placeholder = self.markdown.htmlStash.store('\n\n'.join(
+ placeholder = self.md.htmlStash.store('\n\n'.join(
items[i:right_listindex]))
del items[i:right_listindex]
items.insert(i, placeholder)