From 163588887f9eff3a022e5625bb9605edb266b8db Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 30 Sep 2011 08:14:30 +0000 Subject: [PATCH] Rails3: helper: use html_safe for Mercurial setting git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7548 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/repositories_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index 703277adb..6556ee214 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -213,12 +213,12 @@ module RepositoriesHelper :size => 60, :required => true, :disabled => (repository && !repository.root_url.blank?) ) + - '
' + l(:text_mercurial_repository_note)) + + '
'.html_safe + l(:text_mercurial_repository_note)) + content_tag('p', form.select( :path_encoding, [nil] + Setting::ENCODINGS, :label => l(:field_scm_path_encoding) ) + - '
' + l(:text_scm_path_encoding_note)) + '
'.html_safe + l(:text_scm_path_encoding_note)) end def git_field_tags(form, repository)