缺陷显示界面描述增加html_safe

This commit is contained in:
sw 2015-09-01 16:48:56 +08:00
parent e4559dce78
commit d0743e4dbf
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ module JournalsHelper
end
end
#content << content_tag('div', links.join(' ').html_safe, :class => 'contextual', :style => 'margin-top:-25px;') unless links.empty?
content << textilizable(journal, :notes)
content << textAreailizable(journal, :notes)
css_classes = "wiki"
css_classes << " editable" if editable
content_tag('div', content.html_safe, :id => "journal-#{journal.id}-notes", :class => css_classes ,:style => "width:510px")