kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-11-12 05:18 pm

[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 [personal profile] yvi.

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)(.*?)>} {&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
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org