Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r18000: LJSUP-7670: Auto-Formatting turn on the ...

Committer: gariev
LJSUP-7670: Auto-Formatting turn on the extended comment form

U   trunk/htdocs/talkpost.bml
Modified: trunk/htdocs/talkpost.bml
===================================================================
--- trunk/htdocs/talkpost.bml	2010-12-23 04:35:20 UTC (rev 17999)
+++ trunk/htdocs/talkpost.bml	2010-12-23 05:03:24 UTC (rev 18000)
@@ -200,7 +200,7 @@
     return $errtxt unless LJ::Talk::check_viewable($remote, $item, \%FORM, \$errtxt);
 
     my $event = !$FORM{'replyto'} ? $item->{'event'} : $parpost->{'body'};
-    my $preformatted = $FORM{'replyto'} eq "" ? $props->{'opt_preformatted'} : $parpost->{'opt_preformatted'};
+    my $preformatted = ($FORM{'replyto'}) ? $parpost->{'opt_preformatted'} : $props->{'opt_preformatted'};
 
     my $suspend_msg = $entry && $entry->should_show_suspend_msg_to($remote) ? 1 : 0;
     LJ::CleanHTML::clean_event(\$event, { 'preformatted' => $preformatted,

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