Strip nbsps in rss
authorpdbogen <pdbogen@088b83a4-0077-4247-935c-42ec02c2848b>
Tue, 17 Jun 2008 02:22:56 +0000 (02:22 +0000)
committerpdbogen <pdbogen@088b83a4-0077-4247-935c-42ec02c2848b>
Tue, 17 Jun 2008 02:22:56 +0000 (02:22 +0000)
git-svn-id: https://www.cernu.us/~pdbogen/svn/destult2@45 088b83a4-0077-4247-935c-42ec02c2848b

commands.yaml

index 784fa28..e03efe6 100644 (file)
@@ -924,6 +924,7 @@ RSS: |-
               $tmp =~ s/<br ?\/?>/\n/g;
               $tmp =~ s/<[^>]+>//g;
             }
+            $tmp =~ s/&nbsp;/ /gi;
             $tmp =~ s/&lt;/</gi;
             $tmp =~ s/&gt;/>/gi;
             $tmp =~ s/&quot;/"/gi;