Remove utf8 flag from author string. This iix strange characters
replacing smart quotes, etc, in feeds with an author.
Patch by alierak.
diffs (13 lines):
diff -r 527cb37dc89f -r 611bd8ac71bf cgi-bin/LJ/SynSuck.pm
--- a/cgi-bin/LJ/SynSuck.pm Sat Jan 02 14:12:14 2010 +0000
+++ b/cgi-bin/LJ/SynSuck.pm Sun Jan 03 01:25:41 2010 +0000
@@ -267,7 +267,8 @@ sub process_content {
# we don't want perl knowing that and fucking stuff up
# for us behind our back in random places all over
# http://zilla.livejournal.org/show_bug.cgi?id=1037
- foreach my $attr (qw(id subject text link)) {
+ foreach my $attr (qw(id subject text link author)) {
+ next unless exists $it->{$attr} && defined $it->{$attr};
$it->{$attr} = LJ::no_utf8_flag ( $it->{$attr} );
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog