Skip to content

Commit 71f9607

Browse files
mbacovskyiNecas
authored andcommitted
Prevent missing translation span in title
When the translation is missing it is wrapped with <span class="translation_missing"... by rails. HTML elements are not allowed within the title tag.
1 parent 42ce9d3 commit 71f9607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/layouts/apipie/apipie.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title><%= t('apipie.api_documentation') %></title>
4+
<title><%= t('apipie.api_documentation', :default => 'Api Documentation') %></title>
55
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<%= Apipie.include_stylesheets %>

0 commit comments

Comments
 (0)