Page 1 of 1

Upgraded to 1.4.1, now get double newlines in all posts!

Posted: Fri Jan 30, 2009 4:39 am
by genesis
Not sure what happened, but it appears that the "paragraph" tag in the HTML editor gets duplicated somewhere - I get double newlines now in all my new postings.

All the EXISTING material in the blog is ok.

Is there a parameter somewhere that got scrambled and I missed?

Posted: Fri Jan 30, 2009 6:11 am
by genesis
I figured out what's happening with the WYSIWIG editor (the HTMLAREA thing)

Its doing this to the text:

Code: Select all

<div class="serendipity_entry_body">
                <p>What's going on with this?</p><br />
<p>Time to test it out.</p>
            </div>
Notice the extra "<br />" tag. That's from the carriage return - and I assume that the HTMLAREA editor is inserting it, 'cause I sure as hell didn't stick it in there and when I put the editor in the "HTML" mode, its not there.

Is there a switch to turn that off? I tried grafting the old HTMLAREA editor into the directory tree and it refused to start.

Posted: Fri Jan 30, 2009 6:20 am
by genesis
Eh, this happens when you post using the non-WYSIWIG editor too.

Turn off the HTMLAREA, key in some text with a <P> between lines, and if you hit return, you wind up with a hard break in there too.

That's kind of a problem......

Posted: Fri Jan 30, 2009 6:25 am
by genesis
Nevermind - I found it.

Nl2br was enabled. Now why this DID NOT cause problems with 1.3 I don't know, but it does with 1.4.1.

I removed it from the active event list and the problem is gone.

Posted: Fri Jan 30, 2009 3:11 pm
by judebert
Glad you found it! Sorry nobody was awake to help you out...

Posted: Fri Jan 30, 2009 3:22 pm
by genesis
Very odd that I HAD TO have that in the event list before (prior to 1.4.1) to avoid having no breaks between paragraphs tho.

Heh, it is what it is; its fixed and that's the important part :)