diff rhodecode/model/notification.py @ 1769:025f3333c769 beta

@mention highlighting
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 08 Dec 2011 03:36:13 +0200
parents 8321b3d19b1f
children 2aee0dc1784e
line wrap: on
line diff
--- a/rhodecode/model/notification.py	Thu Dec 08 02:25:23 2011 +0200
+++ b/rhodecode/model/notification.py	Thu Dec 08 03:36:13 2011 +0200
@@ -104,7 +104,7 @@
             email_subject = NotificationModel().make_description(notif, False)
             type_ = type_
             email_body = body
-            kwargs = {'subject':subject, 'body':h.rst(body)}
+            kwargs = {'subject':subject, 'body':h.rst_w_mentions(body)}
             kwargs.update(email_kwargs)
             email_body_html = EmailNotificationModel()\
                                 .get_email_tmpl(type_, **kwargs)