diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb
index fc1fd1c3d..f46e748a8 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -258,7 +258,7 @@ module RepositoriesHelper
: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 bazaar_field_tags(form, repository)