Skip to content

Commit

Permalink
Merge pull request #2763 from projecthydra/default_language
Browse files Browse the repository at this point in the history
Give the language a default so it doesn't break html
  • Loading branch information
jeremyf committed Oct 5, 2016
2 parents 4d3d28a + 8f1ff78 commit ae8d81b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/curation_concerns/1_column.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="<%= t("sufia.document_language") %>" prefix="og:http://ogp.me/ns#">
<html lang="<%= t("sufia.document_language", default: '') %>" prefix="og:http://ogp.me/ns#">
<head>
<%= render partial: 'layouts/head_tag_content' %>
</head>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/homepage.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="<%= t("sufia.document_language") %>">
<html lang="<%= t("sufia.document_language", default: '') %>">
<head>
<%= render "layouts/head_tag_content"%>
</head>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/sufia-dashboard.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="<%= t("sufia.document_language") %>">
<html lang="<%= t("sufia.document_language", default: '') %>">
<head><%= render 'layouts/head_tag_content' %></head>
<body>
<a href="#skip_to_content" class="sr-only">Skip to Content</a>
Expand Down

0 comments on commit ae8d81b

Please sign in to comment.