From f4a43c3ce2b1ddb1c2eab440eb3062f87015ef96 Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Sun, 4 Oct 2015 02:13:57 +0200 Subject: [PATCH] Close html tags Apparently this unclosed tag didn't break rendering but judging from the fact that this was the only unclosed tag and was introduced recently, it probably wasn't intended. The unit tests did expect the tag to be closed. --- app/views/layouts/_flash.html.erb | 6 +++--- app/views/layouts/_header.html.erb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/_flash.html.erb b/app/views/layouts/_flash.html.erb index dc458fdcf..8b04dac91 100644 --- a/app/views/layouts/_flash.html.erb +++ b/app/views/layouts/_flash.html.erb @@ -1,7 +1,7 @@ <% if flash[:error] %>
- " type="image/svg+xml"> + " type="image/svg+xml"> <%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
<%= flash[:error] %>
@@ -11,7 +11,7 @@ <% if flash[:warning] %>
- " type="image/svg+xml"> + " type="image/svg+xml"> <%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
<%= flash[:warning] %>
@@ -21,7 +21,7 @@ <% if flash[:notice] %>
- " type="image/svg+xml"> + " type="image/svg+xml"> <%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
<%= flash[:notice] %>
diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index f5cfd205b..116cf227d 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -2,7 +2,7 @@

- " type="image/svg+xml"> + " type="image/svg+xml"> <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t('layouts.logo.alt_text'), :class => 'logo' %> <%= t 'layouts.project_name.h1' %> -- 2.43.2