Changeset 165

Show
Ignore:
Timestamp:
28/03/06 13:40:39 (3 years ago)
Author:
rollercow
Message:

Realy stop trimming br, and adding br for that matter when its ment to be useing the editor, bit of a stupid bug realy..

Yay for debug mode!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • admin.lib.php

    r164 r165  
    223223                        $body = trim($_POST['body']); 
    224224                        //we dont want to use nl2br if peeps are useing tinymce 
    225                         if (!$admin->blog->editor) { 
     225                        if (!$this->blog->editor) { 
    226226                                $body = nl2br($body); 
    227227                        } 
     
    298298                        $body = trim($_POST['body']); 
    299299                        //we dont want to use nl2br if peeps are useing tinymce 
    300                         if (!$admin->blog->editor) { 
     300                        if (!$this->blog->editor) { 
    301301                                $body = nl2br($body); 
    302302                        } 
     
    501501                if ($show) { 
    502502                //we dont want to use br2nl if peeps are useing tinymce 
    503                         if (!$admin->blog->editor) { 
     503                        if (!$this->blog->editor) { 
     504                                echo $this->blog->editor; 
    504505                                echo br2nl($row['body']); 
    505506                        }