Skip to content

Commit

Permalink
Stringify message before sanitization (#1790)
Browse files Browse the repository at this point in the history
  • Loading branch information
fastjames authored Jun 14, 2023
1 parent 02e10c8 commit e28857d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/avo/alert_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>
<div class="ml-3 w-0 flex-1 pt-0.5">
<p class="text-sm leading-5 font-semibold">
<%= sanitize message %>
<%= sanitize message.to_s %>
</p>
</div>
<div class="ml-4 flex-shrink-0 flex items-center">
Expand Down

0 comments on commit e28857d

Please sign in to comment.