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

[livejournal] r17858: LJSUP-7052

Committer: gprochaev
LJSUP-7052

U   trunk/cgi-bin/LJ/Browse/Parser.pm
Modified: trunk/cgi-bin/LJ/Browse/Parser.pm
===================================================================
--- trunk/cgi-bin/LJ/Browse/Parser.pm	2010-12-03 06:28:16 UTC (rev 17857)
+++ trunk/cgi-bin/LJ/Browse/Parser.pm	2010-12-03 07:36:10 UTC (rev 17858)
@@ -94,6 +94,8 @@
             $ret .= $token->[1];
 
         } elsif ($type eq 'E') {
+            next if grep { $tag eq $_ } @$remove_tags;
+
             # end tag
             pop @open_tags;
             $ret .= "</$tag>";

Tags: livejournal, pm, 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