From: pdbogen Date: Sat, 26 Jan 2008 00:53:55 +0000 (+0000) Subject: RSS: Translate special characters regardless of the "strip" flag. X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=574c275d60b38dfa4c9d977e99b5227a85a94eae;p=destult.git RSS: Translate special characters regardless of the "strip" flag. git-svn-id: https://www.cernu.us/~pdbogen/svn/destult2@35 088b83a4-0077-4247-935c-42ec02c2848b --- diff --git a/commands.yaml b/commands.yaml index ddc8ef9..0793e41 100644 --- a/commands.yaml +++ b/commands.yaml @@ -886,11 +886,12 @@ RSS: |- if( $strip == 1 ) { $tmp =~ s/
/\n/g; $tmp =~ s/<[^>]+>//g; - $tmp =~ s/<//gi; - $tmp =~ s/"/"/gi; - $tmp =~ s/&/&/gi; } + $tmp =~ s/<//gi; + $tmp =~ s/"/"/gi; + $tmp =~ s/&/&/gi; + $tmp =~ s/—/--/gi; if( $oneline == 1 ) { $tmp =~ s/\n/ /gi; }