summaryrefslogtreecommitdiff
path: root/lib/rexml/formatters/default.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/formatters/default.rb')
-rw-r--r--lib/rexml/formatters/default.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/formatters/default.rb b/lib/rexml/formatters/default.rb
index b4d63bc5b5..56a1d93783 100644
--- a/lib/rexml/formatters/default.rb
+++ b/lib/rexml/formatters/default.rb
@@ -21,7 +21,7 @@ module REXML
def write( node, output )
case node
- when Document
+ when Document
if node.xml_decl.encoding != "UTF-8" && !output.kind_of?(Output)
output = Output.new( output, node.xml_decl.encoding )
end
@@ -70,7 +70,7 @@ module REXML
if node.children.empty?
output << " " if @ie_hack
- output << "/"
+ output << "/"
else
output << ">"
node.children.each { |child|