Committer: sbelyaev
LJSUP-13883: Journal pages optimizaiton : stage 1U trunk/HTMLCleaner.pm
Modified: trunk/HTMLCleaner.pm =================================================================== --- trunk/HTMLCleaner.pm 2012-10-17 08:30:12 UTC (rev 274) +++ trunk/HTMLCleaner.pm 2012-10-17 09:20:01 UTC (rev 275) @@ -178,7 +178,9 @@ return; } - return unless $text =~ /(<|>)/; + unless ($text =~ /(<|>)/) { + $self->{'output'}->($text); + } # this string is magic [hack]. (See $out_straight in # cgi-bin/LJ/S2.pm) callers can print "<!-- -->" to HTML::Parser