wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r23375: LJSUP-14077: Clean big size parameters f...

Committer: wisest-owl
LJSUP-14077: Clean big size parameters for image in lj-cut

U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2012-11-28 07:26:17 UTC (rev 23374)
+++ trunk/cgi-bin/cleanhtml.pl	2012-11-28 07:47:05 UTC (rev 23375)
@@ -1139,10 +1139,12 @@
                         my $width = $hash->{'width'};
                         if ( $width && $width !~ /\%$/ ) {
                             $width =~ s/\D//g;
+=head
                             if ( int $width > $maxwidth ) {
                                 delete $hash->{'width'};
                                 delete $hash->{'height'};
                             }
+=cut
                         }
 
                         #$img_bad = 1 if ( $opts->{'img_placeholders'} );

Tags: livejournal, pl, wisest-owl
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