From 6c86f25addd7e33471b4ffd0e048654a75e6d9a4 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Wed, 17 Feb 2021 03:37:52 +0000 Subject: [PATCH] Added html_safe for all_matches view --- app/views/tournaments/matches.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/tournaments/matches.html.erb b/app/views/tournaments/matches.html.erb index 01aa25e..1766120 100644 --- a/app/views/tournaments/matches.html.erb +++ b/app/views/tournaments/matches.html.erb @@ -24,7 +24,7 @@ <%= match.bout_number %> <%= match.bracket_position %> - <%= match.w1_bracket_name %> vs <%= match.w2_bracket_name %> + <%= match.w1_bracket_name.html_safe %> vs <%= match.w2_bracket_name.html_safe %> <%= match.finished %> <%= link_to 'Show', match, :class=>"btn btn-default btn-sm" %> <%= link_to 'Edit Wrestlers', edit_match_path(match), :class=>"btn btn-primary btn-sm" %>