diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2014-03-11 20:48:19 +0400 |
---|---|---|
committer | Dmitry Shachnev <mitya57@gmail.com> | 2014-03-11 20:50:09 +0400 |
commit | 4ca11effd18372dc6b5e8cf852130a7e75c27eb6 (patch) | |
tree | 081564463f7a8b70fc863bd2503e4881d7aed13a | |
parent | 5db95251ad52b39fe85b5fc345815306704c451f (diff) | |
download | markdown-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.py | 2 |
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 |