Commit e78b2192 authored by Kev's avatar Kev Committed by Vitaly Slobodin

Fix abuse reports contains html and does not show reporter

parent d89d8429
......@@ -12,7 +12,9 @@
= _('(removed)')
%td
%strong.subheading.d-block.d-sm-none
= _('Reported by %{reporter}') % { reporter: reporter ? link_to(reporter.name, reporter) : _('(removed)') }
= _('Reported by %{reporter}').html_safe % { reporter: reporter ? link_to(reporter.name, reporter) : _('(removed)') }
.light.gl-display-none.gl-display-sm-block
= link_to(reporter.name, reporter)
.light.small
= time_ago_with_tooltip(abuse_report.created_at)
%td
......
---
title: Fix abuse reports contains html and does not show repoter
merge_request: 50983
author: Kev @KevSlashNull
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment