Treat all newly entered blocks of text as Markdown
This commit is contained in:
parent
2ee961be9f
commit
aa4205482a
21 changed files with 154 additions and 23 deletions
|
@ -3,7 +3,7 @@
|
|||
<%= t'notifier.diary_comment_notification.header', :from_user => @from_user, :subject => @title %>
|
||||
|
||||
==
|
||||
<%= raw @text %>
|
||||
<%= raw @text.to_text %>
|
||||
==
|
||||
|
||||
<%= t'notifier.diary_comment_notification.footer', :readurl => @readurl, :commenturl => @commenturl, :replyurl => @replyurl %>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<p><%= raw t'notifier.message_notification.header', :from_user => link_to(@from_user, :host => SERVER_URL, :controller => :user, :action => :view, :display_name => @from_user), :subject => @title %></p>
|
||||
|
||||
==
|
||||
<%= htmlize @text %>
|
||||
<%= @text.to_html %>
|
||||
==
|
||||
|
||||
<p>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<%= raw t'notifier.message_notification.header', :from_user => @from_user, :subject => @title %>
|
||||
|
||||
==
|
||||
<%= raw @text %>
|
||||
<%= raw @text.to_text %>
|
||||
==
|
||||
|
||||
<%= raw t'notifier.message_notification.footer1', :readurl => @readurl %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue