mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
lib/rexml/document.rb, lib/rexml/element.rb,
lib/rexml/formatters/pretty.rb: remove opinionated language in documentation. [Bug #8309], reported by Charles Beckmann git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8541ed6df6
commit
e5ce9579ec
4 changed files with 12 additions and 11 deletions
|
@ -1,3 +1,10 @@
|
|||
Tue Apr 23 17:40:40 2013 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* lib/rexml/document.rb, lib/rexml/element.rb,
|
||||
lib/rexml/formatters/pretty.rb: remove opinionated
|
||||
language in documentation. [Bug #8309],
|
||||
reported by Charles Beckmann
|
||||
|
||||
Tue Apr 23 14:04:44 2013 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* lib/net/imap.rb (getacl_response): parse the mailbox of an ACL
|
||||
|
|
|
@ -195,11 +195,8 @@ module REXML
|
|||
# the absolute *value* of the document -- that is, it leaves the value
|
||||
# and number of Text nodes in the document unchanged.
|
||||
# ie_hack::
|
||||
# Internet Explorer is the worst piece of crap to have ever been
|
||||
# written, with the possible exception of Windows itself. Since IE is
|
||||
# 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
|
||||
# This hack inserts a space before the /> on empty tags to address
|
||||
# a limitation of Internet Explorer. Defaults to false
|
||||
# encoding::
|
||||
# Encoding name as String. Change output encoding to specified encoding
|
||||
# instead of encoding in XML declaration.
|
||||
|
|
|
@ -678,11 +678,8 @@ module REXML
|
|||
# pretty-printed in such a way that the added whitespace does not affect
|
||||
# the parse tree of the document
|
||||
# ie_hack::
|
||||
# Internet Explorer is the worst piece of crap to have ever been
|
||||
# written, with the possible exception of Windows itself. Since IE is
|
||||
# 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
|
||||
# This hack inserts a space before the /> on empty tags to address
|
||||
# a limitation of Internet Explorer. Defaults to false
|
||||
#
|
||||
# out = ''
|
||||
# doc.write( out ) #-> doc is written to the string 'out'
|
||||
|
|
|
@ -24,7 +24,7 @@ module REXML
|
|||
# is undefined. Defaults to 2.
|
||||
# ie_hack::
|
||||
# If true, the printer will insert whitespace before closing empty
|
||||
# tags, thereby allowing Internet Explorer's feeble XML parser to
|
||||
# tags, thereby allowing Internet Explorer's XML parser to
|
||||
# function. Defaults to false.
|
||||
def initialize( indentation=2, ie_hack=false )
|
||||
@indentation = indentation
|
||||
|
|
Loading…
Reference in a new issue