Rails3: helper: html_safe for JournalsHelper render_notes method
Contributed by Sernin van de Krol. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8451 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
48fae14403
commit
2b2eeb0192
|
@ -30,7 +30,7 @@ module JournalsHelper
|
|||
{ :controller => 'journals', :action => 'edit', :id => journal },
|
||||
:title => l(:button_edit)) if editable
|
||||
end
|
||||
content << content_tag('div', links.join(' '), :class => 'contextual') unless links.empty?
|
||||
content << content_tag('div', links.join(' ').html_safe, :class => 'contextual') unless links.empty?
|
||||
content << textilizable(journal, :notes)
|
||||
css_classes = "wiki"
|
||||
css_classes << " editable" if editable
|
||||
|
|
Loading…
Reference in New Issue