summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-10-17 00:12:10 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-10-17 00:12:10 -0400
commitb9179ab5c77e04dc2ae7af562b2666a5e699d6ff (patch)
tree01b047df6ee61db062c818116b949d3091c0f1f6
parent6d934dd4475a7beeef9b7c547f27688ea6f94438 (diff)
downloadaskbot-b9179ab5c77e04dc2ae7af562b2666a5e699d6ff.tar.gz
askbot-b9179ab5c77e04dc2ae7af562b2666a5e699d6ff.tar.bz2
askbot-b9179ab5c77e04dc2ae7af562b2666a5e699d6ff.zip
made full text appear in instant email alerts
-rw-r--r--askbot/models/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/models/__init__.py b/askbot/models/__init__.py
index 9958c2ed..ba274969 100644
--- a/askbot/models/__init__.py
+++ b/askbot/models/__init__.py
@@ -1515,7 +1515,7 @@ def format_instant_notification_email(
update_data = {
'update_author_name': from_user.username,
'receiving_user_name': to_user.username,
- 'content_preview': post.get_snippet(),
+ 'content_preview': post.html,#post.get_snippet()
'update_type': update_type,
'post_url': site_url + post.get_absolute_url(),
'origin_post_title': origin_post.title,