]> git.openstreetmap.org Git - rails.git/commitdiff
removed end tag ("source" is a self-closing tag)
authorKristjan <35647502+KristjanESPERANTO@users.noreply.github.com>
Tue, 24 Dec 2019 22:43:49 +0000 (23:43 +0100)
committerGitHub <noreply@github.com>
Tue, 24 Dec 2019 22:43:49 +0000 (23:43 +0100)
app/views/layouts/_header.html.erb

index c95cc4a75d447375c544c3b38d1a5a22e1dd6a4f..ad7df4c79df25d460a2e51aa110197c20ba3cedf 100644 (file)
@@ -2,7 +2,7 @@
   <h1>
     <a href="<%= root_path %>" class="geolink">
       <picture>
-        <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml"></source>
+        <end tag srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml" />
         <%= 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" %>