Skip to content

Commit

Permalink
Silence warning we don't want
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Oct 23, 2023
1 parent 94324bb commit d842553
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/views/_tailwind/applications/_application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
<p class="text-2xl text-navy">
<%# Local variable highlights is optional. Only use it if it is there %>
<% if local_assigns.key? :highlights %>
<%# rubocop:disable Rails/OutputSafety %>
<%= local_assigns[:highlights][:description].html_safe %>
<%# rubocop:enable Rails/OutputSafety %>
<%= local_assigns[:highlights][:description].html_safe %><%# erblint:disable Rubocop %>
<% else %>
<%= application.description %>
<% end %>
Expand Down

0 comments on commit d842553

Please sign in to comment.