A bug when I create an entry

Found a bug? Tell us!!
Post Reply
iraultza
Posts: 4
Joined: Thu Aug 03, 2006 12:59 am

A bug when I create an entry

Post by iraultza »

First, sorry for my English because I'm Spanish and I don't speak English so well.

My problem is when I create a new entry. I use the 1.0 version of Serendipity. If I do a copy&paste of the text from another window to the text area of the serendipity editor and after save it, the editor eats the "blank lines" (sorry but I don't know the correct form to call them).

I have to put an example:

"This is one paragraph.

This is another paragraph"

In the preview it appears ok, but after I save it, it appears:

"This is one paragraph.This is another paragraph"

This only happens when I do copy&paste.

Any solution?

A lot of thanks.
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

In fact, in the normal editor you edit raw html. double spaces, new line, emtpy lines, tabs, all this are converted to a single space.

So, try to make real html an enclose every pragraph with an <p></p> or use the NL2BR-Event-Plugin. This will transform every newline into his html-aquivalent <br />.
Ciao, Stephan
iraultza
Posts: 4
Joined: Thu Aug 03, 2006 12:59 am

Post by iraultza »

A lot of thanks. I'll try it and comment.

Bye!
iraultza
Posts: 4
Joined: Thu Aug 03, 2006 12:59 am

Post by iraultza »

Jummm.... I'm searching the plugin and I don't find it in the all event plugin section... can you tell me where is it?

Thank you!
iraultza
Posts: 4
Joined: Thu Aug 03, 2006 12:59 am

Post by iraultza »

Ok, I have found it in the admin section of my serendipity, but this is what appear at the plugin:

Error!
Error: serendipity_event_nl2br:b7f1c315fef9655ff26564df4f358306

What can I do?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

If you get this error, it means the plugin is not properly installed. It seems that the plugns/serendipity_event_nl2br directory is either not existing, does not contain files or is not readable.

Did you maybe delete files there? If so, re-upload that plugin from the serendipity release zip/tarball...

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply