From 8c29487fe973f9007510dd6c4f32083b8d4d0896 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Mon, 25 Aug 2014 16:19:37 -0400 Subject: 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. --- markdown/inlinepatterns.py | 5 +---- 1 file changed, 1 insertion(+), 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): -- cgit v1.2.3