From: Michael Prokop Date: Sat, 7 Mar 2009 22:58:01 +0000 (+0100) Subject: http://ftp-master.debian.org/rss/removals.rss - Fix quoting problem with
X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f606e8e8afaefa7cf81c19ec21d42b3eefe85cc4;p=dak

http://ftp-master.debian.org/rss/removals.rss - Fix quoting problem with 

Using qq[<pre>$body</pre>] produces "&lt;pre&gt;"
which seems to broken inside RSS readers. If the result looks like
"<pre>" then it seems to work fine.

Signed-off-by: Michael Prokop 
Signed-off-by: Joerg Jaspert 
---

diff --git a/tools/removals.pl b/tools/removals.pl
index b07845bf..839fc618 100755
--- a/tools/removals.pl
+++ b/tools/removals.pl
@@ -71,7 +71,7 @@ for my $removal (@removals ) {
 
   $rss->add_item(title       => "$reason",
 				 link        => "http://ftp-master.debian.org/removals.txt?" . $link,
-				 description => qq[<pre>$body</pre>],
+				 description => qq[
$body
], dc => { creator => "$ftpmaster", }