summaryrefslogtreecommitdiff
path: root/lib/rss/rss.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/rss.rb')
-rw-r--r--lib/rss/rss.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb
index d2b7604488..7ccf1aefa1 100644
--- a/lib/rss/rss.rb
+++ b/lib/rss/rss.rb
@@ -725,8 +725,8 @@ EOC
private_methods.each do |meth|
if /\A([^_]+)_[^_]+_elements?\z/ =~ meth and
self.class::NSPOOL.has_key?($1)
- res = __send__(meth, need_convert)
- rv << "#{indent}#{res}" if /\A\s*\z/ !~ res
+ res = __send__(meth, need_convert, indent)
+ rv << res if /\A\s*\z/ !~ res
end
end
rv.join("\n")