diff --git a/app/views/versions/show.rhtml b/app/views/versions/show.rhtml
index 52a4bed17..1cd4f7de4 100644
--- a/app/views/versions/show.rhtml
+++ b/app/views/versions/show.rhtml
@@ -53,4 +53,4 @@
<%= call_hook :view_versions_show_bottom, :version => @version %>
-<% html_title @version.name %>
+<% html_title h(@version.name) %>