Missing html_safe.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8389 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
852dee37ec
commit
eb931d4998
|
@ -78,7 +78,7 @@ module Redmine
|
||||||
|
|
||||||
desc "Displays a list of all available macros, including description if available."
|
desc "Displays a list of all available macros, including description if available."
|
||||||
macro :macro_list do |obj, args|
|
macro :macro_list do |obj, args|
|
||||||
out = ''
|
out = ''.html_safe
|
||||||
@@available_macros.keys.collect(&:to_s).sort.each do |macro|
|
@@available_macros.keys.collect(&:to_s).sort.each do |macro|
|
||||||
out << content_tag('dt', content_tag('code', macro))
|
out << content_tag('dt', content_tag('code', macro))
|
||||||
out << content_tag('dd', textilizable(@@available_macros[macro.to_sym]))
|
out << content_tag('dd', textilizable(@@available_macros[macro.to_sym]))
|
||||||
|
|
Loading…
Reference in New Issue