Skip to content

Commit

Permalink
rel="shortcut icon" => rel="icon"
Browse files Browse the repository at this point in the history
`rel="shortcut icon"` used to be a workaround for some ancient browsers,
and doesn't seem like a correct markup according to the HTML spec today.
  • Loading branch information
amatsuda committed May 5, 2023
1 parent 8b6b6d1 commit ea52c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src='<%= assets_path('application.js') %>' type='text/javascript'></script>
<link href='<%= assets_path('application.css') %>' media='screen, projection, print' rel='stylesheet' type='text/css' />
<link rel="shortcut icon" type="image/png" href="<%= assets_path("favicon_#{coverage_css_class(result.source_files.covered_percent)}.png") %>" />
<link rel="icon" type="image/png" href="<%= assets_path("favicon_#{coverage_css_class(result.source_files.covered_percent)}.png") %>" />
</head>

<body<%= ' data-branch-coverage=true' if branchable_result? %>>
Expand Down

0 comments on commit ea52c02

Please sign in to comment.