diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-12-06 21:35:49 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-12-06 21:35:49 -0800 |
commit | 09b4cd864544a5ddb3a26eb758cf1a318dfd484c (patch) | |
tree | 184a684555415942622da143df5a95d4010ead79 | |
parent | fe90382cc2a7512dd9d1e8e6bcd592ab0c4c6866 (diff) | |
download | unicorn-09b4cd864544a5ddb3a26eb758cf1a318dfd484c.tar.gz |
preformatted text from shortlog doesn't map well to most feed readers, it seems.
-rw-r--r-- | Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -59,7 +59,9 @@ task :news_atom do url = "#{cgit_url}/tag/?id=#{tag[:tag]}" link! :rel => "alternate", :type => "text/html", :href =>url id! url - content({:type => 'text'}, tag[:body]) + message_only = tag[:body].split(/\n.+\(\d+\):\n {6}/s).first.strip + content({:type =>:text}, message_only) + content(:type =>:xhtml) { pre tag[:body] } end end end |