aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/dtd/notationdecl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/dtd/notationdecl.rb')
-rw-r--r--lib/rexml/dtd/notationdecl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/dtd/notationdecl.rb b/lib/rexml/dtd/notationdecl.rb
index d577ce0631..a47ff8f24b 100644
--- a/lib/rexml/dtd/notationdecl.rb
+++ b/lib/rexml/dtd/notationdecl.rb
@@ -25,7 +25,7 @@ module REXML
end
def write( output, indent )
- output << (' '*indent) if indent > 0
+ indent( output, indent )
output << to_s
end