diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2014-08-25 16:19:37 -0400 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2014-08-25 16:19:37 -0400 |
commit | 8c29487fe973f9007510dd6c4f32083b8d4d0896 (patch) | |
tree | 2d2ad75ec5c41968bd4036b78d40677b61fd8790 | |
parent | b59d6d5cbf521d6f6557a29dfd5589c51ae73789 (diff) | |
download | markdown-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.py | 5 |
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): |