Don't clean the subject twice in S2 views.

        Patch by yvi. 

diffs (12 lines):

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)(.*?)>} {&lt;$1&gt;}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
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to