Merge pull request #5241 from carlosantoniodasilva/output-safety
Stop SafeBuffer#clone_empty from issuing warnings
This commit is contained in:
commit
974a9dbaa3
|
@ -131,9 +131,7 @@ module ActiveSupport #:nodoc:
|
|||
end
|
||||
|
||||
def clone_empty
|
||||
new_safe_buffer = self[0, 0]
|
||||
new_safe_buffer.instance_variable_set(:@dirty, @dirty)
|
||||
new_safe_buffer
|
||||
self[0, 0]
|
||||
end
|
||||
|
||||
def concat(value)
|
||||
|
|
Loading…
Reference in New Issue