madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r19479: LJSV-1250: Clean HTML in comment preview...

Committer: sbelyaev
LJSV-1250: Clean HTML in comment preview is same as clean html in posted comment.
U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2011-07-14 11:44:54 UTC (rev 19478)
+++ trunk/cgi-bin/cleanhtml.pl	2011-07-15 03:31:11 UTC (rev 19479)
@@ -1906,7 +1906,8 @@
     my ($ref, $opts) = @_;
 
     unless (ref $opts) {
-        $opts = { 'preformatted' => $opts };
+        $opts = { 'preformatted' => $opts,
+                  'nocss'        => 1 };
     }
 
     # fast path:  no markup or URLs to linkify

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