mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rexml/document.rb (REXML::Document::write): leaky
modification trans -> transitive. [ruby-dev:32040] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d962ef7454
commit
9f99bc4631
2 changed files with 6 additions and 1 deletions
|
@ -179,7 +179,7 @@ module REXML
|
|||
# unable to parse proper XML, we have to provide a hack to generate XML
|
||||
# that IE's limited abilities can handle. This hack inserts a space
|
||||
# before the /> on empty tags. Defaults to false
|
||||
def write( output=$stdout, indent=-1, trans=false, ie_hack=false )
|
||||
def write( output=$stdout, indent=-1, transitive=false, ie_hack=false )
|
||||
if xml_decl.encoding != "UTF-8" && !output.kind_of?(Output)
|
||||
output = Output.new( output, xml_decl.encoding )
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue