Skip to content

Commit

Permalink
trim description in rss feed
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jul 20, 2011
1 parent 04d545c commit e82cc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ ddoc.lists.rss = function (head, req) {
+'\n <title>' + doc._id + '</title>'
+'\n <link>' + url + '</link>'
+'\n <description><![CDATA['
+ (doc.description || '') + ']]></description>'
+ (doc.description || '').trim() + ']]></description>'
+'\n <pubDate>' + date.toISOString() + '</pubDate>'
+'\n </item>')
}
Expand Down

0 comments on commit e82cc22

Please sign in to comment.