fixes text format on direct messages
This commit is contained in:
@@ -13,6 +13,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h1><%= @direct_message.title %></h1>
|
<h1><%= @direct_message.title %></h1>
|
||||||
<p><%= @direct_message.body %></p>
|
<p><%= simple_format text_with_links(@direct_message.body), {}, sanitize: false %></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
<%= @direct_message.title %>
|
<%= @direct_message.title %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
<div style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
<%= @direct_message.body %>
|
<%= simple_format text_with_links(@direct_message.body), {}, sanitize: false %>
|
||||||
</p>
|
</div>
|
||||||
|
|
||||||
<table style="width: 100%; border-top: 1px solid #DEE0E3; margin-top: 60px;">
|
<table style="width: 100%; border-top: 1px solid #DEE0E3; margin-top: 60px;">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<%= @direct_message.title %>
|
<%= @direct_message.title %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
<div style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
<%= @direct_message.body %>
|
<%= simple_format text_with_links(@direct_message.body), {}, sanitize: false %>
|
||||||
</p>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user