lib/flapjack/gateways/web/views/contact.html.erb in flapjack-1.0.0rc1 vs lib/flapjack/gateways/web/views/contact.html.erb in flapjack-1.0.0rc2

- old
+ new

@@ -79,11 +79,11 @@ <tr> <td><%= h media.capitalize %></td> <td> <% checks.each do |entity_check| %> <% entity, check = entity_check.split(':', 2) %> - <% check_link = "<a href=\"#{u(@base_url)}check?entity=#{u(entity)}&amp;check=#{u(check)}\" title=\"check status\">" + + <% check_link = "<a href=\"#{@base_url}check?entity=#{u(entity)}&amp;check=#{u(check)}\" title=\"check status\">" + h(check) + "</a>"%> <a href="<%= @base_url %>entity/<%= u(entity) %>" title="entity status"><%= h entity %></a> :: <%= check_link %> <br /> <% end %> </td> @@ -145,10 +145,10 @@ %> <tr> <td><a href="<%= @base_url %>entity/<%= u(entity.name) %>" title="entity status"><%= h entity.name %></a></td> <td> <% checks.each do |check| %> - <%= "<a href=\"#{u(@base_url)}check?entity=#{u(entity.name)}&amp;check=#{u(check)}\" title=\"check status\">#{ h check }</a>" %> + <%= "<a href=\"#{@base_url}check?entity=#{u(entity.name)}&amp;check=#{u(check)}\" title=\"check status\">#{ h check }</a>" %> <% end %> </td> </tr> <% end %> </table>