aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss/rss.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/rss.rb')
-rw-r--r--lib/rss/rss.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb
index 0242a2a6a4..32741b03d1 100644
--- a/lib/rss/rss.rb
+++ b/lib/rss/rss.rb
@@ -1201,7 +1201,7 @@ EOC
__send__(self.class.xml_getter).to_s
else
_content = content
- _content = Base64.encode64(_content) if need_base64_encode?
+ _content = [_content].pack("m").delete("\n") if need_base64_encode?
h(_content)
end
end