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

[livejournal] r23214: LJSUP-13907: Fix image placeholders

Committer: wisest-owl
LJSUP-13907: Fix image placeholders

U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2012-10-29 15:06:29 UTC (rev 23213)
+++ trunk/cgi-bin/cleanhtml.pl	2012-10-29 18:37:37 UTC (rev 23214)
@@ -1132,9 +1132,7 @@
                             $img_bad = 1;
                         }
 
-                    }
-
-                    if ( my $maxwidth = $opts->{'maximgwidth'} ) {
+                    } elsif ( my $maxwidth = $opts->{'maximgwidth'} ) {
                         $img_bad = 0;
 
                         my $width = $hash->{'width'};
@@ -1146,7 +1144,7 @@
                             }
                         }
 
-                        $img_bad = 1 if ( $opts->{'img_placeholders'} );
+                        #$img_bad = 1 if ( $opts->{'img_placeholders'} );
                     } else {
                         $img_bad = 0;
                     }

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