diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-26 16:58:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-26 16:58:17 +0000 |
commit | eb931d49988afeeede1bc6f7e688c6eef573b2de (patch) | |
tree | e7be1199436dfa29098a7fbb45a397b1e5af978d /lib | |
parent | 852dee37ec7b32106376bf14b7563983d37d5204 (diff) | |
download | redmine-eb931d49988afeeede1bc6f7e688c6eef573b2de.tar.gz redmine-eb931d49988afeeede1bc6f7e688c6eef573b2de.zip |
Missing html_safe.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8389 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/wiki_formatting/macros.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting/macros.rb b/lib/redmine/wiki_formatting/macros.rb index de23eabb0..6203fd07b 100644 --- a/lib/redmine/wiki_formatting/macros.rb +++ b/lib/redmine/wiki_formatting/macros.rb @@ -78,7 +78,7 @@ module Redmine desc "Displays a list of all available macros, including description if available." macro :macro_list do |obj, args| - out = '' + out = ''.html_safe @@available_macros.keys.collect(&:to_s).sort.each do |macro| out << content_tag('dt', content_tag('code', macro)) out << content_tag('dd', textilizable(@@available_macros[macro.to_sym])) |