Skip to content

Commit

Permalink
Escape character
Browse files Browse the repository at this point in the history
  • Loading branch information
dngst committed Feb 10, 2024
1 parent 4fa3b8c commit 0c4e158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/search/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<%= turbo_frame_tag :results_list do %>
<p class="text-4xl mb-8 text-gray-800">
Search results <%= params[:q].present? ? "for \"<span class='font-semibold'>#{params[:q]}</span>\"".html_safe : "" %>
Search results <%= params[:q].present? ? "for \"<span class='font-semibold'>#{h(params[:q])}</span>\"".html_safe : "" %>
</p>

<div class="max-w-lg">
Expand Down

0 comments on commit 0c4e158

Please sign in to comment.