Skip to content

Commit 06c9f5c

Browse files
authored
Correct meta tags syntax (#3672)
meta tags are void elements, so this is the correct syntax for them. See also: https://developer.mozilla.org/en-US/docs/Glossary/Void_element
1 parent 96a0f66 commit 06c9f5c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/views/layouts/rails_admin/_head.html.erb

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
2-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
3-
<meta content="width=device-width, initial-scale=1" name="viewport; charset=utf-8"/>
4-
<meta content="NONE,NOARCHIVE" name="robots"/>
1+
<meta content="IE=edge" http-equiv="X-UA-Compatible">
2+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
3+
<meta content="width=device-width, initial-scale=1" name="viewport; charset=utf-8">
4+
<meta content="NONE,NOARCHIVE" name="robots">
55
<%= csrf_meta_tag %>
66
<% case RailsAdmin::config.asset_source
77
when :webpacker %>

0 commit comments

Comments
 (0)