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

@@ -5,7 +5,7 @@ module PostFlagsHelper
post.flags.each do |flag|
html << '<li>'
html << DText.parse_inline(flag.reason).html_safe
html << format_text(flag.reason, inline: true)
if CurrentUser.can_view_flagger?(flag.creator_id)
html << " - #{link_to_user(flag.creator)}"