enable markdown for email notification
This commit is contained in:
parent
7fd29a78fa
commit
41d439401d
|
@ -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"}
|
||||
|
||||
|
|
|
@ -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"}
|
||||
|
||||
|
|
|
@ -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"}
|
||||
|
||||
|
|
|
@ -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"}
|
||||
|
|
Loading…
Reference in a new issue