提交 9ecaa803 编写于 作者: M Michael Koziarski

Make safe_append= live on AV::OutputBuffer not AS::SafeBuffer

Conflicts:

	actionpack/lib/action_view/template/handlers/erb.rb
上级 f04ec6a2
......@@ -15,6 +15,7 @@ def <<(value)
super(value.to_s)
end
alias :append= :<<
alias :safe_append= :safe_concat
end
class Template
......
......@@ -73,7 +73,6 @@ def html_safe?
module ActiveSupport #:nodoc:
class SafeBuffer < String
alias safe_concat concat
alias safe_append= concat
def concat(value)
if value.html_safe?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册