aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/treeprocessors.py
diff options
context:
space:
mode:
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 0ea0de2..1dc612a 100644
--- a/markdown/treeprocessors.py
+++ b/markdown/treeprocessors.py
@@ -161,7 +161,7 @@ class InlineProcessor(Treeprocessor):
if index != -1:
id, phEndIndex = self.__findPlaceholder(data, index)
- if self.stashed_nodes.has_key(id):
+ if id in self.stashed_nodes:
node = self.stashed_nodes.get(id)
if index > 0: