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.
<% if flash[:error] %>
<div class="flash error">
<picture>
<% if flash[:error] %>
<div class="flash error">
<picture>
- <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml">
+ <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
<div class="message"><%= flash[:error] %></div>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
<div class="message"><%= flash[:error] %></div>
<% if flash[:warning] %>
<div class="flash warning">
<picture>
<% if flash[:warning] %>
<div class="flash warning">
<picture>
- <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml">
+ <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
<div class="message"><%= flash[:warning] %></div>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
<div class="message"><%= flash[:warning] %></div>
<% if flash[:notice] %>
<div class="flash notice">
<picture>
<% if flash[:notice] %>
<div class="flash notice">
<picture>
- <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml">
+ <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
<div class="message"><%= flash[:notice] %></div>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
<div class="message"><%= flash[:notice] %></div>
<h1>
<a href="<%= root_path %>" class="geolink">
<picture>
<h1>
<a href="<%= root_path %>" class="geolink">
<picture>
- <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml">
+ <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml"></source>
<%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t('layouts.logo.alt_text'), :class => 'logo' %>
</picture>
<%= t 'layouts.project_name.h1' %>
<%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t('layouts.logo.alt_text'), :class => 'logo' %>
</picture>
<%= t 'layouts.project_name.h1' %>