Browse files

the utf8 encoding of the RSS feed is causing the feed to fail validation

  • Loading branch information...
1 parent f30ab25 commit c50a7628d83e5d79a9314b67704c47e35fba5e0f Vincent Batts committed Oct 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/slackware/changelog/rss.rb
View
1 lib/slackware/changelog/rss.rb
@@ -35,6 +35,7 @@ class ChangeLog
def to_rss(opts = {})
version = "2.0" # ["0.9", "1.0", "2.0"]
content = RSS::Maker.make(version) do |m|
+ m.encoding = "iso-8859-1"
if (opts[:title])
m.channel.title = opts[:title]
else

0 comments on commit c50a762

Please sign in to comment.