<% if milestone.publication_date.present? %>
<% end %>
- <%= image_tag(milestone.image_url(:large), { alt: milestone.image.title, class: "margin", id: "image_#{milestone.id}" }) if milestone.image.present? %>
+ <%= image_tag(milestone.image_url(:large),
+ { alt: milestone.image.title.unicode_normalize,
+ class: "margin",
+ id: "image_#{milestone.id}" }) if milestone.image.present? %>
diff --git a/app/views/images/_image.html.erb b/app/views/images/_image.html.erb
index edcf07187..2062a691b 100644
--- a/app/views/images/_image.html.erb
+++ b/app/views/images/_image.html.erb
@@ -2,11 +2,11 @@
<%= image_tag image.attachment.url(version),
class: image_class(image),
- alt: image.title,
- title: image.title %>
+ alt: image.title.unicode_normalize,
+ title: image.title.unicode_normalize %>
<% if show_caption %>
- <%= image.title %>
+ <%= image.title.unicode_normalize %>
<% end %>
diff --git a/app/views/polls/_gallery.html.erb b/app/views/polls/_gallery.html.erb
index 4e234f7fc..839d2ef4e 100644
--- a/app/views/polls/_gallery.html.erb
+++ b/app/views/polls/_gallery.html.erb
@@ -21,9 +21,9 @@
<%= link_to image.attachment.url(:original), target: "_blank" do %>
<%= image_tag image.attachment.url(:original),
class: "orbit-image",
- alt: image.title %>
+ alt: image.title.unicode_normalize %>
<% end %>
-
<%= image.title %>
+
<%= image.title.unicode_normalize %>
<% end %>
@@ -32,7 +32,7 @@
diff --git a/app/views/polls/_poll_group.html.erb b/app/views/polls/_poll_group.html.erb
index 3e14b3bf9..7b5148263 100644
--- a/app/views/polls/_poll_group.html.erb
+++ b/app/views/polls/_poll_group.html.erb
@@ -9,7 +9,7 @@
<% if poll.image.present? %>
- <%= image_tag poll.image_url(:large), alt: poll.image.title %>
+ <%= image_tag poll.image_url(:large), alt: poll.image.title.unicode_normalize %>
<% end %>
diff --git a/app/views/proposals/_proposal.html.erb b/app/views/proposals/_proposal.html.erb
index 9473984bb..27cd38499 100644
--- a/app/views/proposals/_proposal.html.erb
+++ b/app/views/proposals/_proposal.html.erb
@@ -9,7 +9,8 @@
- <%= image_tag proposal.image_url(:thumb), alt: proposal.image.title %>
+ <%= image_tag proposal.image_url(:thumb),
+ alt: proposal.image.title.unicode_normalize %>