html escape simple format
This commit is contained in:
committed by
Oleksandr Turchyn
parent
5a1efd0e27
commit
bd853c6265
@@ -154,7 +154,7 @@
|
||||
<div class="flex items-center space-x-1 mt-1">
|
||||
<span>
|
||||
Reason:
|
||||
<%= simple_format(submitter.submission_events.find_by(event_type: :decline_form).data['reason']) %>
|
||||
<%= simple_format(h(submitter.submission_events.find_by(event_type: :decline_form).data['reason'])) %>
|
||||
</span>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user