From 5db95251ad52b39fe85b5fc345815306704c451f Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Tue, 11 Mar 2014 12:39:28 +0400 Subject: smarty: Pass tuples, not iterable strings to the pattern. --- markdown/extensions/smarty.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/markdown/extensions/smarty.py b/markdown/extensions/smarty.py index f452afc..0557a54 100644 --- a/markdown/extensions/smarty.py +++ b/markdown/extensions/smarty.py @@ -150,14 +150,14 @@ class SmartyExtension(Extension): md.inlinePatterns.add(name, pattern, after) def educateDashes(self, md): - emDashesPattern = SubstituteTextPattern(r'(?entity') md.inlinePatterns.add('smarty-en-dashes', enDashesPattern, '>smarty-em-dashes') def educateEllipses(self, md): - ellipsesPattern = SubstituteTextPattern(r'(?entity') def educateQuotes(self, md): -- cgit v1.2.3