summaryrefslogtreecommitdiff
path: root/lib/rexml/cdata.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/cdata.rb')
-rw-r--r--lib/rexml/cdata.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/rexml/cdata.rb b/lib/rexml/cdata.rb
index 496c6ec9fe9..73358edc289 100644
--- a/lib/rexml/cdata.rb
+++ b/lib/rexml/cdata.rb
@@ -6,15 +6,15 @@ module REXML
STOP = ']]>'
ILLEGAL = /(\]\]>)/
- # Constructor. CData is data between <![CDATA[ ... ]]>
- #
- # _Examples_
- # CData.new( source )
- # CData.new( "Here is some CDATA" )
- # CData.new( "Some unprocessed data", respect_whitespace_TF, parent_element )
- def initialize( first, whitespace=true, parent=nil )
- super( first, whitespace, parent, false, true, ILLEGAL )
- end
+ # Constructor. CData is data between <![CDATA[ ... ]]>
+ #
+ # _Examples_
+ # CData.new( source )
+ # CData.new( "Here is some CDATA" )
+ # CData.new( "Some unprocessed data", respect_whitespace_TF, parent_element )
+ def initialize( first, whitespace=true, parent=nil )
+ super( first, whitespace, parent, false, true, ILLEGAL )
+ end
# Make a copy of this object
#