You are not logged in.
Pages: 1
hi,
how can I stop xinha stripping out chunks of code from the head?
ie: go to source mode and paste in:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
and then go to normal mode and back again and it's gone.
Offline
do you use the fullpage-plugin?
if not you should, bause else there will be two doctypes in the iframe (the internal from xinha and your one) - so xinha will remove one.
Niko
Offline
Hi,
Thanks for your help.
I've just tried that but it doesn't seem to make a difference.
Also something like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
Get's turned into:
<title>test</title>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
Offline
for me it did work quite well:
- http://xinha.gogo.co.nz/xinha-nightly/e … ample.html
- loaded only FullPage-plugin
- switched into html-view
- pasted your html-code
- switched backup wysiwyg
- clicked "Document Properties" (displays the right doctype and the right title)
- switched back to html-view - everything stays like it was
...the only thing that got lost was the xmlnl="..." - and that only in Firefox
Last edited by niko (2005-08-10 05:16:36)
Niko
Offline
Hi Niko,
Thank you very much I have it working now.
It seems a little buggy however if u toggle source mode a few times it seems to move it around a bit. But it isn't a huge problem.
Thanks again.
Adam
Offline
Pages: 1