fixes #810
This commit is contained in:
@@ -4,7 +4,7 @@ module PostAppealsHelper
|
||||
html << '<ul>'
|
||||
|
||||
post.appeals.each do |appeal|
|
||||
html << '<li>' + appeal.reason + ' - ' + link_to(appeal.creator.name, user_path(appeal.creator)) + ' ' + time_ago_in_words_tagged(appeal.created_at) + '</li>'
|
||||
html << '<li>' + DText.parse_inline(appeal.reason).html_safe + ' - ' + link_to(appeal.creator.name, user_path(appeal.creator)) + ' ' + time_ago_in_words_tagged(appeal.created_at) + '</li>'
|
||||
end
|
||||
|
||||
html << '</ul>'
|
||||
|
||||
@@ -5,7 +5,7 @@ module PostFlagsHelper
|
||||
|
||||
post.flags.each do |flag|
|
||||
html << '<li>'
|
||||
html << flag.reason
|
||||
html << DText.parse_inline(flag.reason).html_safe
|
||||
|
||||
if CurrentUser.is_janitor?
|
||||
html << ' - ' + link_to(flag.creator.name, user_path(flag.creator))
|
||||
|
||||
Reference in New Issue
Block a user