vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17496: LJSV-1132: remove "style" attr from tags...

Committer: vsukhanov
LJSV-1132: remove "style" attr from tags in displayed comments.
U   trunk/cgi-bin/LJ/S2/EntryPage.pm
U   trunk/htdocs/talkread.bml
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/EntryPage.pm	2010-10-04 08:24:05 UTC (rev 17495)
+++ trunk/cgi-bin/LJ/S2/EntryPage.pm	2010-10-04 09:07:54 UTC (rev 17496)
@@ -131,7 +131,8 @@
             }
             LJ::CleanHTML::clean_comment(\$text, { 'preformatted' => $com->{'props'}->{'opt_preformatted'},
                                                    'anon_comment' => (!$pu || $pu->{'journaltype'} eq 'I'),
-                                               });
+                                                   'nocss'        => 1,
+                                                   });
 
             # local time in mysql format to gmtime
             my $datetime = DateTime_unix($com->{'datepost_unix'});

Modified: trunk/htdocs/talkread.bml
===================================================================
--- trunk/htdocs/talkread.bml	2010-10-04 08:24:05 UTC (rev 17495)
+++ trunk/htdocs/talkread.bml	2010-10-04 09:07:54 UTC (rev 17496)
@@ -711,7 +711,8 @@
 
              LJ::CleanHTML::clean_comment(\$post->{'body'}, { 'preformatted' => $post->{'props'}->{'opt_preformatted'},
                                                               'anon_comment' => (!$pu || $pu->{'journaltype'} eq 'I'),
-                                                          });
+                                                              'nocss'        => 1,
+                                                              });
              BML::ebml(\$post->{'body'});
              my $event = $post->{'body'};
              if ($GET{'nohtml'}) {

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