Committer: wisest-owl
LJSUP-14077: Clean big size parameters for image in lj-cutU 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'} );