do not escape html in text only emails

This commit is contained in:
MrZYX 2011-03-08 20:45:02 +01:00
parent 7b5b980095
commit 5f841b9add
6 changed files with 36 additions and 36 deletions

View file

@ -1,8 +1,8 @@
= t('notifier.hello', :name => @receiver.profile.first_name) != t('notifier.hello', :name => @receiver.profile.first_name)
= "#{@sender.name} (#{@sender.diaspora_handle})" != "#{@sender.name} (#{@sender.diaspora_handle})"
= t('notifier.also_commented.commented', :post_author => @post_author_name) != t('notifier.also_commented.commented', :post_author => @post_author_name)
= @comment.text != @comment.text
= "#{t('notifier.love')} \n" != "#{t('notifier.love')} \n"
= t('notifier.diaspora') != t('notifier.diaspora')

View file

@ -1,8 +1,8 @@
= t('notifier.hello', :name => @receiver.profile.first_name) != t('notifier.hello', :name => @receiver.profile.first_name)
= "#{@sender.name} (#{@sender.diaspora_handle})" != "#{@sender.name} (#{@sender.diaspora_handle})"
= t('notifier.comment_on_post.commented') != t('notifier.comment_on_post.commented')
= @comment.text != @comment.text
= "#{t('notifier.love')} \n" != "#{t('notifier.love')} \n"
= t('notifier.diaspora') != t('notifier.diaspora')

View file

@ -1,8 +1,8 @@
= t('notifier.hello', :name => @receiver.profile.first_name) != t('notifier.hello', :name => @receiver.profile.first_name)
= "#{@sender.name} (#{@sender.diaspora_handle})" != "#{@sender.name} (#{@sender.diaspora_handle})"
= t('notifier.mentioned.mentioned') != t('notifier.mentioned.mentioned')
= @post.formatted_message(:plain_text => true) != @post.formatted_message(:plain_text => true)
= "#{t('notifier.love')} \n" != "#{t('notifier.love')} \n"
= t('notifier.diaspora') != t('notifier.diaspora')

View file

@ -1,9 +1,9 @@
= t('notifier.hello', :name => @receiver.profile.first_name) != t('notifier.hello', :name => @receiver.profile.first_name)
= "#{@sender.name} (#{@sender.diaspora_handle})" != "#{@sender.name} (#{@sender.diaspora_handle})"
= t('notifier.new_request.just_sent_you') != t('notifier.new_request.just_sent_you')
= t('notifier.new_request.try_it_out') != t('notifier.new_request.try_it_out')
= "#{t('notifier.new_request.sign_in')}: #{new_user_session_url}" != "#{t('notifier.new_request.sign_in')}: #{new_user_session_url}"
= t('notifier.love') != t('notifier.love')
= t('notifier.diaspora') != t('notifier.diaspora')

View file

@ -1,8 +1,8 @@
= t('notifier.hello', :name => @receiver.profile.first_name) != t('notifier.hello', :name => @receiver.profile.first_name)
= "#{@sender.name} (#{@sender.diaspora_handle})" != "#{@sender.name} (#{@sender.diaspora_handle})"
= t('notifier.request_accepted.accepted') != t('notifier.request_accepted.accepted')
= t('.sign_in') != t('.sign_in')
= new_user_session_url != new_user_session_url
= "#{t('notifier.love')} \n" != "#{t('notifier.love')} \n"
= t('notifier.diaspora') != t('notifier.diaspora')

View file

@ -1,6 +1,6 @@
= t('notifier.hello', :name => @recipient.username) != t('notifier.hello', :name => @recipient.username)
= @string != @string
= t('notifier.thanks') != t('notifier.thanks')
= t('notifier.single_admin.admin') != t('notifier.single_admin.admin')