浏览代码

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
tags/1.4.0
Toshi MARUYAMA 12 年前
父节点
当前提交
2b2eeb0192
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      app/helpers/journals_helper.rb

+ 1
- 1
app/helpers/journals_helper.rb 查看文件

@@ -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

正在加载...
取消
保存