diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb
index b8e266afe..56785add2 100644
--- a/app/views/versions/index.html.erb
+++ b/app/views/versions/index.html.erb
@@ -9,7 +9,7 @@
<% else %>
<% @versions.each do |version| %>
-
<%= tag 'a', :name => version.name %><%= link_to_version version %>
+ <%= tag 'a', :name => h(version.name) %><%= link_to_version version %>
<%= render :partial => 'versions/overview', :locals => {:version => version} %>
<%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>