diff --git a/app/views/file_presenter/_image.html.erb b/app/views/file_presenter/_image.html.erb
index 3c8c808..97fc352 100644
--- a/app/views/file_presenter/_image.html.erb
+++ b/app/views/file_presenter/_image.html.erb
@@ -4,15 +4,15 @@
current_index = images.index(image.encapsulated_file)
total_of_images = images.count
link_to_previous = if current_index >= 1
- link_to(_('« Previous'), images[current_index - 1].view_url, :class => 'previous')
+ link_to(_('« Previous').html_safe, images[current_index - 1].view_url, :class => 'previous')
else
- content_tag('span', _('« Previous'), :class => 'previous')
+ content_tag('span', _('« Previous').html_safe, :class => 'previous')
end
link_to_next = if current_index < total_of_images - 1
- link_to(_('Next »'), images[current_index + 1].view_url, :class => 'next')
+ link_to(_('Next »').html_safe, images[current_index + 1].view_url, :class => 'next')
else
- content_tag('span', _('Next »'), :class => 'next')
+ content_tag('span', _('Next »').html_safe, :class => 'next')
end
%>
--
libgit2 0.21.2