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
This commit is contained in:
Toshi MARUYAMA 2011-09-30 08:15:09 +00:00
parent 163588887f
commit 2681578d53
1 changed files with 2 additions and 2 deletions

View File

@ -227,13 +227,13 @@ module RepositoriesHelper
:size => 60, :required => true, :size => 60, :required => true,
:disabled => (repository && !repository.root_url.blank?) :disabled => (repository && !repository.root_url.blank?)
) + ) +
'<br />' + '<br />'.html_safe +
l(:text_git_repository_note)) + l(:text_git_repository_note)) +
content_tag('p', form.select( content_tag('p', form.select(
:path_encoding, [nil] + Setting::ENCODINGS, :path_encoding, [nil] + Setting::ENCODINGS,
:label => l(:field_scm_path_encoding) :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( content_tag('p', form.check_box(
:extra_report_last_commit, :extra_report_last_commit,
:label => l(:label_git_report_last_commit) :label => l(:label_git_report_last_commit)