diff options
| author | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-24 02:04:10 +0000 |
|---|---|---|
| committer | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-24 02:04:10 +0000 |
| commit | 555b6807e3c3d58107eaba7cb6030105ac9bf7aa (patch) | |
| tree | 47bfabacac5fcad2f67cffa5f2b0eb80f064d4c6 /lib/rexml/comment.rb | |
| parent | 3a7438b8b8ffea931a81a43a15a395aa3df80491 (diff) | |
| download | ruby-555b6807e3c3d58107eaba7cb6030105ac9bf7aa.tar.gz ruby-555b6807e3c3d58107eaba7cb6030105ac9bf7aa.tar.xz ruby-555b6807e3c3d58107eaba7cb6030105ac9bf7aa.zip | |
-
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/comment.rb')
| -rw-r--r-- | lib/rexml/comment.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rexml/comment.rb b/lib/rexml/comment.rb index 7c3e79fe2..334017cbf 100644 --- a/lib/rexml/comment.rb +++ b/lib/rexml/comment.rb @@ -54,6 +54,10 @@ module REXML indent( output, indent ) output << START output << @string + if indent>-1 + output << "\n" + indent( output, indent ) + end output << STOP end |
