Skip to content

Commit

Permalink
Removed some old code
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
waylan committed Aug 25, 2014
1 parent b59d6d5 commit 8c29487
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions markdown/inlinepatterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,7 @@ def get_stash(m):
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):
Expand Down

0 comments on commit 8c29487

Please sign in to comment.