Escape param

This commit is contained in:
Jason Zimdars
2024-11-14 11:04:43 -06:00
parent c2df855211
commit 25e929bb59
+1 -1
View File
@@ -2,7 +2,7 @@
<% if @bubble.due_on.present? %>
<%= form_with model: @bubble, url: bucket_bubble_path(@bubble.bucket, @bubble), data: { controller: "form" } do |form| %>
<label class="bubble__bubble bubble__meta bubble__date">
<%= @bubble.due_on.strftime("%b <br> %d").html_safe %>
<%= html_escape @bubble.due_on.strftime("%b <br> %d").html_safe %>
<%= form.date_field :due_on, class: "input input--hidden", data: { action: "change->form#submit click->form#showPicker" } %>
<span class="for-screen-reader">Change the due date</span>
</label>