Committer: gprochaev
LJSUP-7507. minor fixU trunk/cgi-bin/LJ/Browse/Parser.pm
Modified: trunk/cgi-bin/LJ/Browse/Parser.pm =================================================================== --- trunk/cgi-bin/LJ/Browse/Parser.pm 2010-12-07 09:14:07 UTC (rev 17872) +++ trunk/cgi-bin/LJ/Browse/Parser.pm 2010-12-07 09:19:04 UTC (rev 17873) @@ -149,7 +149,7 @@ $$text =~ s#(\s*<br\s*/?>\s*){2,}#<br/>#gi; ## Remove <a><img><br>-type html (imgs had been deleted early) - $$text =~ s#(<a.*?></a><br\s*/?>\s*){2,}#<br/>#gi; + $$text =~ s#(<a[^>]*?></a><br\s*/?>\s*){2,}#<br/>#gi; ## Remove all content of 'script' tag $$text =~ s#<script.*?/script># #gis;