Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-12-11 16:52:58

lasker
New member
Registered: 2005-12-11
Posts: 3

First Line in Textarea

In Netscape and Firefox i have after the start of xinha in a empty textarea a Space and a carriage returen linefeed. No HTML is in the textarea.
After a save of this "empty" textarea i store this in my database.

This problem i don't have with the IE. A empty textarea is empty. What can i do?

You can see this in the demo
http://xinha.gogo.co.nz/xinha-nightly/e … ample.html

Test it with firefox, switch to html and you see a empty line and then <p>.
Test it in IE and you don't see the empty line.

Offline

#2 2005-12-12 08:30:13

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: First Line in Textarea

It's the way Gecko does it.  Just clean it up server side.


James Sleeman

Offline

#3 2005-12-12 17:18:19

lasker
New member
Registered: 2005-12-11
Posts: 3

Re: First Line in Textarea

Is this a gecko bug or the right function?

Is there any way to clean it up in xinha? This is a different result between xinha ie and firefox. On server side i only have standard textarea handling and no differences for ie and firefox. I don't like it to clean it on every textarea on my site. It is Postnuke and there are a many textarea's.

I hope you have a sunny christmas in New Zealand this year. Last year it was very cold ;-) We have visit your country for three weeks and it is beautiful.  Best Regards from Germany.

Last edited by lasker (2005-12-12 17:27:12)

Offline

#4 2005-12-12 20:59:22

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: First Line in Textarea

My feeling is that it is a gecko bug, or actualy it could be a side-effect of EnterParagraphs plugin (usually loaded automatically in Xinha when running on Gecko).

If you submit a bug report about this, I will look more closely and see about cleaning it up client-side.


James Sleeman

Offline

#5 2005-12-13 01:32:54

lasker
New member
Registered: 2005-12-11
Posts: 3

Re: First Line in Textarea

O.K. Ticket 616.
Thx for the great work.

Offline

Board footer

Powered by FluxBB