[dw-free] Smart quotes not displaying on RSS feeds
[commit: http://hg.dwscoalition.org/dw-free/rev/611bd8ac71bf]
http://bugs.dwscoalition.org/show_bug.cgi?id=2221
Remove utf8 flag from author string. This iix strange characters replacing
smart quotes, etc, in feeds with an author.
Patch by
alierak.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2221
Remove utf8 flag from author string. This iix strange characters replacing
smart quotes, etc, in feeds with an author.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/SynSuck.pm
-------------------------------------------------------------------------------- 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} ); } --------------------------------------------------------------------------------