]> source.dussan.org Git - redmine.git/commitdiff
Rails3: helper: use html_safe for git setting
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 30 Sep 2011 08:15:09 +0000 (08:15 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 30 Sep 2011 08:15:09 +0000 (08:15 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7549 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/repositories_helper.rb

index 6556ee214a82a6aa13f818f757b8205d9a9a1166..fc1fd1c3d67f340596bbb1acb8a4473075998d26 100644 (file)
@@ -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)