Announcement

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

#1 2005-08-09 11:28:14

adam.jimenez
Xinha Pro
Registered: 2005-04-19
Posts: 50

stop xinha stripping out tags

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

#2 2005-08-09 12:34:13

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: stop xinha stripping out tags

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

#3 2005-08-10 04:53:08

adam.jimenez
Xinha Pro
Registered: 2005-04-19
Posts: 50

Re: stop xinha stripping out tags

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

#4 2005-08-10 05:16:01

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: stop xinha stripping out tags

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

#5 2005-08-10 05:59:15

adam.jimenez
Xinha Pro
Registered: 2005-04-19
Posts: 50

Re: stop xinha stripping out tags

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

Board footer

Powered by FluxBB