]> err.no Git - dak/commitdiff
http://ftp-master.debian.org/rss/removals.rss - Fix quoting problem with <pre>
authorMichael Prokop <mika@grml.org>
Sat, 7 Mar 2009 22:58:01 +0000 (23:58 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 10 Mar 2009 22:23:59 +0000 (23:23 +0100)
Using qq[&lt;pre&gt;$body&lt;/pre&gt;] produces "&#x26;lt;pre&#x26;gt;"
which seems to broken inside RSS readers. If the result looks like
"&lt;pre&gt;" then it seems to work fine.

Signed-off-by: Michael Prokop <mika@grml.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
tools/removals.pl

index b07845bf0c122d1e04b75b4d5070313ddae7a68d..839fc618c9e060f7fe929825589c1b3a55950af7 100755 (executable)
@@ -71,7 +71,7 @@ for my $removal (@removals ) {
 
   $rss->add_item(title       => "$reason",
                                 link        => "http://ftp-master.debian.org/removals.txt?" . $link,
-                                description => qq[&lt;pre&gt;$body&lt;/pre&gt;],
+                                description => qq[<pre>$body</pre>],
                                 dc => {
                                                creator => "$ftpmaster",
                                           }