summaryrefslogtreecommitdiff
path: root/lib/rss/image.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/image.rb')
-rw-r--r--lib/rss/image.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/image.rb b/lib/rss/image.rb
index b81b725..f499a75 100644
--- a/lib/rss/image.rb
+++ b/lib/rss/image.rb
@@ -83,7 +83,7 @@ module RSS
tag_name_with_prefix(IMAGE_PREFIX)
end
- def to_s(need_convert=true, indent=calc_indent)
+ def to_s(need_convert=true, indent='')
rv = tag(indent) do |next_indent|
[
other_element(false, next_indent),
@@ -187,7 +187,7 @@ module RSS
tag_name_with_prefix(IMAGE_PREFIX)
end
- def to_s(need_convert=true, indent=calc_indent)
+ def to_s(need_convert=true, indent='')
rv = tag(indent) do |next_indent|
[
other_element(false, next_indent),