diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-24 14:54:53 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-24 14:54:58 -0400 |
commit | c839624b845c98c3531ba5b582bbce5b24519cf2 (patch) | |
tree | eb55e07b36f2034cf39a2d6e4a825dd7e71e57f2 /askbot/const | |
parent | 753e82946529ce55351168483ff9f51a92b293af (diff) | |
download | askbot-c839624b845c98c3531ba5b582bbce5b24519cf2.tar.gz askbot-c839624b845c98c3531ba5b582bbce5b24519cf2.tar.bz2 askbot-c839624b845c98c3531ba5b582bbce5b24519cf2.zip |
fixed regex for the email reply separator and a bug in sending email alerts
Diffstat (limited to 'askbot/const')
-rw-r--r-- | askbot/const/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/const/__init__.py b/askbot/const/__init__.py index f3091800..ae1d7d2d 100644 --- a/askbot/const/__init__.py +++ b/askbot/const/__init__.py @@ -59,7 +59,7 @@ REPLY_WITH_COMMENT_TEMPLATE = _( 'Note: to reply with a comment, ' 'please use <a href="mailto://%(addr)s">this link</a>' ) -REPLY_SEPARATOR_REGEX = re.compile('==== .* -=-==', re.MULTILINE) +REPLY_SEPARATOR_REGEX = re.compile(r'==== .* -=-==', re.MULTILINE|re.DOTALL) ANSWER_SORT_METHODS = (#no translations needed here 'latest', 'oldest', 'votes' |