From: Andrew Zaborowski Date: Sun, 4 Oct 2015 00:13:57 +0000 (+0200) Subject: Close html tags X-Git-Tag: live~4035 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f4a43c3ce2b1ddb1c2eab440eb3062f87015ef96 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. --- 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' %>