html escape simple format

This commit is contained in:
Pete Matsyburka authored and Oleksandr Turchyn committed 2024-09-09 13:57:46 +03:00
1 parent 5a1efd0e27
commit bd853c6265
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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 %>