enable markdown for email notification

This commit is contained in:
Dmitriy Zaporozhets 2012-02-13 20:40:39 +02:00
parent 7fd29a78fa
commit 41d439401d
4 changed files with 8 additions and 8 deletions

View file

@ -17,7 +17,7 @@
%table{:border => "0", :cellpadding => "0", :cellspacing => "0", :width => "558"}
%tr
%td{:valign => "top"}
%cite{:style => "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
= @note.note
%div{ :style => "background:#f5f5f5; padding:20px;border:1px solid #ddd" }
= RDiscount.new(@note.note, :autolink, :no_pseudo_protocols, :safelink, :smart, :filter_html).to_html.html_safe
%td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}

View file

@ -19,7 +19,7 @@
%table{:border => "0", :cellpadding => "0", :cellspacing => "0", :width => "558"}
%tr
%td{:valign => "top"}
%cite{:style => "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
= @note.note
%div{ :style => "background:#f5f5f5; padding:20px;border:1px solid #ddd" }
= RDiscount.new(@note.note, :autolink, :no_pseudo_protocols, :safelink, :smart, :filter_html).to_html.html_safe
%td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}

View file

@ -17,7 +17,7 @@
%table{:border => "0", :cellpadding => "0", :cellspacing => "0", :width => "558"}
%tr
%td{:valign => "top"}
%cite{:style => "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
= @note.note
%div{ :style => "background:#f5f5f5; padding:20px;border:1px solid #ddd" }
= RDiscount.new(@note.note, :autolink, :no_pseudo_protocols, :safelink, :smart, :filter_html).to_html.html_safe
%td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}

View file

@ -17,6 +17,6 @@
%table{:border => "0", :cellpadding => "0", :cellspacing => "0", :width => "558"}
%tr
%td{:valign => "top"}
%cite{:style => "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
= @note.note
%div{ :style => "background:#f5f5f5; padding:20px;border:1px solid #ddd" }
= RDiscount.new(@note.note, :autolink, :no_pseudo_protocols, :safelink, :smart, :filter_html).to_html.html_safe
%td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}