Index: app/helpers/application_helper.rb =================================================================== --- app/helpers/application_helper.rb (revision 17346) +++ app/helpers/application_helper.rb (working copy) @@ -19,6 +19,7 @@ require 'forwardable' require 'cgi' +require 'htmlentities' module ApplicationHelper include Redmine::WikiFormatting::Macros::Definitions @@ -740,6 +741,7 @@ link_project = project esc, all, page, title = $1, $2, $3, $5 if esc.nil? + page = decode_html_entities(page) if page =~ /^\#(.+)$/ anchor = sanitize_anchor_name($1) url = "##{anchor}" @@ -1526,4 +1528,9 @@ name = identifier.gsub(%r{^"(.*)"$}, "\\1") return CGI.unescapeHTML(name) end + + def decode_html_entities(page) + @coder ||= HTMLEntities.new() + @coder.decode(page) + end end