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