Commit 41d43940 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

enable markdown for email notification

parent 7fd29a78
......@@ -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"}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment