aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2014-03-11 20:48:19 +0400
committerDmitry Shachnev <mitya57@gmail.com>2014-03-11 20:50:09 +0400
commit4ca11effd18372dc6b5e8cf852130a7e75c27eb6 (patch)
tree081564463f7a8b70fc863bd2503e4881d7aed13a
parent5db95251ad52b39fe85b5fc345815306704c451f (diff)
downloadmarkdown-4ca11effd18372dc6b5e8cf852130a7e75c27eb6.tar.gz
markdown-4ca11effd18372dc6b5e8cf852130a7e75c27eb6.tar.bz2
markdown-4ca11effd18372dc6b5e8cf852130a7e75c27eb6.zip
smarty: Fix test failure with Python 3.1 and 3.2. Fixes #295
-rw-r--r--markdown/extensions/smarty.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/smarty.py b/markdown/extensions/smarty.py
index 0557a54..2f946f8 100644
--- a/markdown/extensions/smarty.py
+++ b/markdown/extensions/smarty.py
@@ -73,7 +73,7 @@ from ..util import parseBoolValue
# Constants for quote education.
punctClass = r"""[!"#\$\%'()*+,-.\/:;<=>?\@\[\\\]\^_`{|}~]"""
endOfWordClass = r"[\s.,;:!?)]"
-closeClass = r"[^\ \t\r\n\[\{\(\-\u0002\u0003]"
+closeClass = "[^\ \t\r\n\[\{\(\-\u0002\u0003]"
openingQuotesBase = (
'(\s' # a whitespace char