diff options
Diffstat (limited to 'lib/rexml/dtd')
-rw-r--r-- | lib/rexml/dtd/entitydecl.rb | 2 | ||||
-rw-r--r-- | lib/rexml/dtd/notationdecl.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/dtd/entitydecl.rb b/lib/rexml/dtd/entitydecl.rb index 164825570f..a5f1520f2b 100644 --- a/lib/rexml/dtd/entitydecl.rb +++ b/lib/rexml/dtd/entitydecl.rb @@ -42,7 +42,7 @@ module REXML end def write( output, indent ) - output << (' '*indent) if indent > 0 + indent( output, indent ) output << to_s end 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 |