Skip to content

Commit 0330f89

Browse files
committed
Fix <body> class attribute
1 parent 8ddc08c commit 0330f89

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

views/index.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<link rel="mask-icon" href="<%= App.cdn_origin %>/images/webkit-mask-icon.svg" color="#398df0">
3333
<link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">
3434
</head>
35-
<body<%= %w( class="#{app_layout}") if app_layout %>>
35+
<body<%= %( class="#{app_layout}") if app_layout %>>
3636
<noscript class="_fail">DevDocs requires JavaScript to run.</noscript>
3737
<%= erb :app -%>
3838
<%= javascript_tag 'application', asset_host: false %>

views/other.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
1414
<link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">
1515
</head>
16-
<body<%= %w( class="#{app_layout}") if app_layout %> data-doc="<%= CGI::escape_html @doc.to_json %>">
16+
<body<%= %( class="#{app_layout}") if app_layout %> data-doc="<%= CGI::escape_html @doc.to_json %>">
1717
<noscript class="_fail">DevDocs requires JavaScript to run.</noscript>
1818
<%= erb :app -%>
1919
<%= javascript_tag 'application', asset_host: false %><% unless App.production? %>

0 commit comments

Comments
 (0)