Fix #4230: Inconsistency between DText preview and DText renders of inline DText.
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
<tr>
|
||||
<td><%= PostPresenter.preview(post_appeal.post, :tags => "status:any") %></td>
|
||||
<td>
|
||||
<div class="prose">
|
||||
<%= format_text post_appeal.reason %>
|
||||
</div>
|
||||
<span class="prose">
|
||||
<%= format_text post_appeal.reason, inline: true %>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<%= link_to post_appeal.post.appeals.size, post_appeals_path(search: { post_id: post_appeal.post_id }) %>
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
<tr class="resolved-<%= post_flag.is_resolved? %>">
|
||||
<td><%= PostPresenter.preview(post_flag.post, :tags => "status:any") %></td>
|
||||
<td>
|
||||
<div class="prose">
|
||||
<%= format_text post_flag.reason %>
|
||||
</div>
|
||||
<span class="prose">
|
||||
<%= format_text post_flag.reason, inline: true %>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<%= link_to post_flag.post.flags.size, post_flags_path(search: { post_id: post_flag.post_id }) %>
|
||||
|
||||
Reference in New Issue
Block a user