diff options
-rw-r--r-- | lib/attachment_to_html/template.html.erb | 1 | ||||
-rw-r--r-- | spec/lib/attachment_to_html/view_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/attachment_to_html/template.html.erb b/lib/attachment_to_html/template.html.erb index 38286a5f9..b898b1750 100644 --- a/lib/attachment_to_html/template.html.erb +++ b/lib/attachment_to_html/template.html.erb @@ -1,6 +1,7 @@ <!DOCTYPE html> <html> <head> + <meta charset="UTF-8"> <title><%= title %></title> <%= content_for(:head_suffix) %> </head> diff --git a/spec/lib/attachment_to_html/view_spec.rb b/spec/lib/attachment_to_html/view_spec.rb index 65eff4cad..50179b0f7 100644 --- a/spec/lib/attachment_to_html/view_spec.rb +++ b/spec/lib/attachment_to_html/view_spec.rb @@ -119,6 +119,7 @@ describe AttachmentToHTML::View do <!DOCTYPE html> <html> <head> + <meta charset="UTF-8"> <title>An attachment.txt</title> </head> <body> |