madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21594: LJSUP-11687: Remove asxml from inbox

Committer: sbelyaev
LJSUP-11687: Remove asxml from inbox
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-03-29 13:58:27 UTC (rev 21593)
+++ trunk/cgi-bin/ljprotocol.pl	2012-03-29 14:03:41 UTC (rev 21594)
@@ -1389,11 +1389,6 @@
 
         $raw->{state} = $item->{state};
 
-        if ($req->{'asxml'} && $raw->{'body'}) {
-            my $tidy = LJ::Tidy->new();
-            $raw->{'body'} = $tidy->clean( $raw->{'body'} );
-        }
-
         push @res, { %$raw,
                      when   => $item->when_unixtime,
                      qid    => $item->qid,

Tags: livejournal, madeon, pl, sbelyaev
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