summaryrefslogtreecommitdiffstats
path: root/app/helpers/repositories_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-30 08:14:30 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-30 08:14:30 +0000
commit163588887f9eff3a022e5625bb9605edb266b8db (patch)
treec68063839a5b18c3430c3f0c59e6ea557d785924 /app/helpers/repositories_helper.rb
parentbafa472d7e1c3f3dd3b21d004a3a710648090129 (diff)
downloadredmine-163588887f9eff3a022e5625bb9605edb266b8db.tar.gz
redmine-163588887f9eff3a022e5625bb9605edb266b8db.zip
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
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r--app/helpers/repositories_helper.rb4
1 files 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?)
) +
- '<br />' + l(:text_mercurial_repository_note)) +
+ '<br />'.html_safe + l(:text_mercurial_repository_note)) +
content_tag('p', form.select(
:path_encoding, [nil] + Setting::ENCODINGS,
:label => l(:field_scm_path_encoding)
) +
- '<br />' + l(:text_scm_path_encoding_note))
+ '<br />'.html_safe + l(:text_scm_path_encoding_note))
end
def git_field_tags(form, repository)