summaryrefslogtreecommitdiffstats
path: root/app/helpers/repositories_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-30 08:15:09 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-30 08:15:09 +0000
commit2681578d53eac575e4af0471c03053298806fe6c (patch)
tree4aaba181792f0e459eabc849f2738eb654334946 /app/helpers/repositories_helper.rb
parent163588887f9eff3a022e5625bb9605edb266b8db (diff)
downloadredmine-2681578d53eac575e4af0471c03053298806fe6c.tar.gz
redmine-2681578d53eac575e4af0471c03053298806fe6c.zip
Rails3: helper: use html_safe for git setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7549 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 6556ee214..fc1fd1c3d 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -227,13 +227,13 @@ module RepositoriesHelper
:size => 60, :required => true,
:disabled => (repository && !repository.root_url.blank?)
) +
- '<br />' +
+ '<br />'.html_safe +
l(:text_git_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)) +
content_tag('p', form.check_box(
:extra_report_last_commit,
:label => l(:label_git_report_last_commit)