Skip to content

Commit

Permalink
Fix deadline warning tag
Browse files Browse the repository at this point in the history
Need to permit the html, which is safe to do as it doesn't use any user
provided values
  • Loading branch information
rjlynch committed Dec 18, 2024
1 parent 4c91be0 commit ed5121a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

<% summary_list.with_row do |row| %>
<% row.with_key { "Decision due" } %>
<% row.with_value { "#{l(claim.decision_deadline_date)}" + "#{decision_deadline_warning(claim, {na_text: ""})}" } %>
<% row.with_value { (l(claim.decision_deadline_date) + decision_deadline_warning(claim, {na_text: ""})).html_safe } %>
<% end %>

<% summary_list.with_row do |row| %>
Expand Down

0 comments on commit ed5121a

Please sign in to comment.