diff options
Diffstat (limited to 'lib/rss/rss.rb')
-rw-r--r-- | lib/rss/rss.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb index fc1dabf518..11fe6d6dd1 100644 --- a/lib/rss/rss.rb +++ b/lib/rss/rss.rb @@ -183,7 +183,8 @@ EOC <<-EOC rv = [] @#{n}.each do |x| - rv << "\#{x.to_s(convert, indent)}" + value = "\#{x.to_s(convert, indent)}" + rv << value if /\\A\\s*\\z/ !~ value end rv.join("\n") EOC |