Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r21303: LJSUP-11436: Bad view placeholder for im...

Committer: amyshkin
LJSUP-11436: Bad view placeholder for image
U   trunk/cgi-bin/LJ/S2/EntryPage.pm
U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/EntryPage.pm	2012-03-06 06:35:07 UTC (rev 21302)
+++ trunk/cgi-bin/LJ/S2/EntryPage.pm	2012-03-06 08:58:59 UTC (rev 21303)
@@ -169,7 +169,6 @@
                 'posterid'           => $com->{'posterid'},
                 'img_placeholders'   => $replace_images_in_comments,
                 'video_placeholders' => $replace_video_in_comments,
-                'remove_img_sizes'   => $replace_images_in_comments,
                 'remove_video_sizes' => $replace_video_in_comments,
             });
 

Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2012-03-06 06:35:07 UTC (rev 21302)
+++ trunk/cgi-bin/cleanhtml.pl	2012-03-06 08:58:59 UTC (rev 21303)
@@ -1134,12 +1134,10 @@
                         else {
                             if ( $hash->{'width'} > 140 ) {
                                 $img_bad = 1;
-                                $hash->{'width'} = 140;
                             }
                             else {
                                 if ( $hash->{'height'} > 37 ) {
                                     $img_bad = 1;
-                                    $hash->{'height'} = 37;
                                 }
                                 else {
                                     $img_bad = 0;

Tags: amyshkin, livejournal, pl, pm, zilogic
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