diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2015-12-29 18:28:13 -0500 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2015-12-29 18:28:13 -0500 |
commit | eac0cc2ac97fd1aeaf8a267917eb09fbf3b53ab2 (patch) | |
tree | 159fbb946e893001a4c48c48be99b8ef31d1c824 /markdown/preprocessors.py | |
parent | b0ff2da7172e411c312f228290968f63de3bdf81 (diff) | |
download | python-markdown-md3.tar.gz |
Cleanup backport of 2.6.x bugfixes.md3
Diffstat (limited to 'markdown/preprocessors.py')
-rw-r--r-- | markdown/preprocessors.py | 2 |
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) |