madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r19972: LJSV-1286: Added missed 'source_user' at...

Committer: sbelyaev
LJSV-1286: Added missed 'source_user' attribute.
U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2011-09-06 08:10:52 UTC (rev 19971)
+++ trunk/cgi-bin/cleanhtml.pl	2011-09-06 09:35:42 UTC (rev 19972)
@@ -17,6 +17,7 @@
 package LJ;
 
 use Encode;
+use LJ::EmbedModule;
 use HTML::Entities;
 
 # <LJFUNC>
@@ -1293,6 +1294,10 @@
                                             ? $entry->poster->username
                                             : '';
 
+                    my $journalu = LJ::want_user($poster_username);
+                    if ($journalu) {
+                        LJ::EmbedModule->add_user_to_embed($journalu, \$captured);
+                    }
                     $captured = LJ::Lang::ml("repost.wrapper", {
                                                 username => $poster_username,
                                                 url      => $entry->url,

Tags: livejournal, madeon, pl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments