aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-08-25 16:19:37 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2014-08-25 16:19:37 -0400
commit8c29487fe973f9007510dd6c4f32083b8d4d0896 (patch)
tree2d2ad75ec5c41968bd4036b78d40677b61fd8790
parentb59d6d5cbf521d6f6557a29dfd5589c51ae73789 (diff)
downloadmarkdown-8c29487fe973f9007510dd6c4f32083b8d4d0896.tar.gz
markdown-8c29487fe973f9007510dd6c4f32083b8d4d0896.tar.bz2
markdown-8c29487fe973f9007510dd6c4f32083b8d4d0896.zip
Removed some old code
These couple lines were from an old - no longer used - method of stashing inlines. There is no need for it today. The if statement would never evaluate True.
-rw-r--r--markdown/inlinepatterns.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/markdown/inlinepatterns.py b/markdown/inlinepatterns.py
index dd06dff..eaf4040 100644
--- a/markdown/inlinepatterns.py
+++ b/markdown/inlinepatterns.py
@@ -217,10 +217,7 @@ class Pattern(object):
class SimpleTextPattern(Pattern):
""" Return a simple text of group(2) of a Pattern. """
def handleMatch(self, m):
- text = m.group(2)
- if text == util.INLINE_PLACEHOLDER_PREFIX:
- return None
- return text
+ return m.group(2)
class EscapePattern(Pattern):