diff --git a/Gemfile.lock b/Gemfile.lock index 5c83e9a..d53a4d5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,9 +6,9 @@ PATH PATH remote: /home/tobi/github/simplecov specs: - simplecov (0.18.1) + simplecov (0.18.2) docile (~> 1.1) - simplecov-html (~> 0.11.0) + simplecov-html (~> 0.11) GEM remote: https://rubygems.org/ diff --git a/views/source_file.erb b/views/source_file.erb index e9bc5a6..92d7958 100644 --- a/views/source_file.erb +++ b/views/source_file.erb @@ -45,7 +45,7 @@ <% end %> <% end %> - <%= CGI.escapeHTML(line.src.chomp.encode('UTF-8', invalid: :replace, undef: :replace)) %> + <%= CGI.escapeHTML(line.src.chomp) %> <% end %>