Skip to content

Commit

Permalink
Add lang attribute for HTML tags in generated doc and static file han…
Browse files Browse the repository at this point in the history
…dler. Fixes #4080
  • Loading branch information
asterite committed Mar 2, 2017
1 parent a2ffa05 commit dc0d365
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/compiler/crystal/tools/doc/html/main.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta id="repository-name" content="<%= repository_name %>">
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/crystal/tools/doc/html/type.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta id="repository-name" content="<%= type.repository_name %>">
Expand Down
2 changes: 1 addition & 1 deletion src/http/server/handlers/static_file_handler.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>Directory listing for <%= HTML.escape request_path %></title>
</head>
Expand Down

0 comments on commit dc0d365

Please sign in to comment.