[dw-free] some views ignore "site" attributes on <user> tags in entry subjects
[commit: http://hg.dwscoalition.org/dw-free/rev/9ff9ffaf097a]
http://bugs.dwscoalition.org/show_bug.cgi?id=2053
Don't clean the subject twice in S2 views.
Patch by
yvi.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2053
Don't clean the subject twice in S2 views.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/S2.pm
-------------------------------------------------------------------------------- diff -r a99bebf23fe2 -r 9ff9ffaf097a cgi-bin/LJ/S2.pm --- a/cgi-bin/LJ/S2.pm Thu Nov 12 11:04:06 2009 -0600 +++ b/cgi-bin/LJ/S2.pm Thu Nov 12 11:18:05 2009 -0600 @@ -1865,8 +1865,6 @@ sub Entry_from_entryobj $text =~ s{<(?!/?lj)(.*?)>} {<$1>}gi; } LJ::item_toutf8( $journal, \$subject, \$text, $entry_obj->props ) if $LJ::UNICODE && $entry_obj->props->{unknown8bit}; - - LJ::CleanHTML::clean_subject( \$subject ) if $subject; my $suspend_msg = $entry_obj && $entry_obj->should_show_suspend_msg_to( $remote ) ? 1 : 0; # cleaning the entry text: cuts and such --------------------------------------------------------------------------------