diff options
author | Russ Allbery <eagle@eyrie.org> | 2008-09-14 23:49:57 +0000 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2008-09-14 23:49:57 +0000 |
commit | 99a855c8b4da37b4d5752f4d257a1cd391fd1700 (patch) | |
tree | 74559e3e9390eb27cad08649d9758cb8b91fb211 | |
parent | a7f1e7ca22cd7cd142807e2a26a22896df641738 (diff) |
Escape backslashes in thread output from simple descriptions in .rss files.
-rwxr-xr-x | bin/spin-rss | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/spin-rss b/bin/spin-rss index 50c5559..3ab49c3 100755 --- a/bin/spin-rss +++ b/bin/spin-rss @@ -302,6 +302,7 @@ sub thread_output { print $file " [$entry->{title}]][\n"; my $description = $entry->{description}; $description =~ s/^/ /mg; + $description =~ s/\\/\\\\/g; print $file $description; print $file "]\n\n"; } |