Remove ruby DText implementation (#3206).

This commit is contained in:
evazion
2017-07-14 23:34:52 -05:00
parent d48ed95191
commit 7cb7c2fbab
40 changed files with 47 additions and 582 deletions

View File

@@ -1,4 +1,4 @@
<%= format_text(WikiPage.titled(Danbooru.config.appeal_notice_wiki_page).first.try(&:body), :ragel => true) %>
<%= format_text(WikiPage.titled(Danbooru.config.appeal_notice_wiki_page).first.try(&:body)) %>
<!-- XXX dtext_field expects there to be a `post_appeal` instance variable. -->
<% @post_appeal = post_appeal %>

View File

@@ -19,7 +19,7 @@
<% @post_appeals.each do |post_appeal| %>
<tr>
<td><%= PostPresenter.preview(post_appeal.post, :tags => "status:any") %></td>
<td><%= format_text post_appeal.reason, :ragel => true %></td>
<td><%= format_text post_appeal.reason %></td>
<td>
<%= link_to post_appeal.post.appeals.size, post_appeals_path(search: { post_id: post_appeal.post_id }) %>
</td>