You are not logged in.
Pages: 1
Hi,
This is driving me nuts.
I have fullpage enabled using xinha_config.fullPage=true
If I start with a blank xinha, the source code shows as:
<html><head /><body></body></html>
What is going on with the head tag?
It should default to:
<html><head></head><body></body></html>
And it won't let me change it!
This is causing me major probs. Please help.
BTW I'm using FF 1.5.
Offline
I think this is definitely a bug in xinha. Altho I could not find a ticket for it.
A workaround could be to have the default code as:
<html><head><title>Untitled</title></head><body></body></html>
This could be a relatively easy fix for someone that knows the xinha back end.
Offline
I've found a work around.
change line 5755 from:
if ( HTMLArea.is_ie && root_tag == "head" )
to:
if ( root_tag == "head" )
and rem out line 5766 ie:
//html += txt + '\n';
This is still not perfect tho.
FF tends to keep everything on one line.
While IE seems to play pretty nicely.
Offline
I took out a few more is_ie statements and have got FF and IE running a bit more similar.
One prob tho is that FF tends to keep and new lines when IE doesn't.
I think the solution would be to strip all new lines first and then process the document.
Offline
Thanks wymsy. That's a great help.
It still looks a little bit buggy and works differently between IE and FF.
But it is a major improvement.
Offline
Pages: 1