Announcement

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

#1 2006-06-21 09:14:36

Fooneen
New member
Registered: 2006-03-13
Posts: 4

Xinha removing tags from html code

Hi,

I have a problem with xinha deleting tags from my html code. The following line in my code gets changed:

<AREA shape=RECT coords=260,150,308,169 href="../vestigingen.asp?vestiging=3">

to:

<AREA href="../vestigingen.asp?vestiging=3">

So it deletes the shape and coords attributes from the area tag. I dont want this to happen, because these tags are used by an image which has links inside it. Is there anyway to disable this behavior in the code? I looked at some of the functions in the script but afaik only the inwardhtml and outwardhtml have some regexp function that replaces html code. And neither of these should change it with the standard code thats in there.

Now for another problem which might be related.
When I put in a link in my html which points to a file, say instead of the line above I use this one:

<AREA shape=RECT coords=260,150,308,169 href="/vestigingen.asp?vestiging=3">

it gets changed to:

<AREA shape=RECT coords=260,150,308,169 href="http://serverroot/vestigingen.asp?vestiging=3">

I believe this is something Internet Explorer does to the url, but Id like to know if that can be disabled aswell. Disabling the functions in the code that do this doesnt help.

Thanks in advance for any answers.

Offline

#2 2006-06-23 04:27:25

mharrisonline
Xinha Administrator
From: Denver, Colorado
Registered: 2005-04-11
Posts: 110
Website

Re: Xinha removing tags from html code

IE does not properly support that code in WYSIWYG editors, so you must use the GetHtml plugin, which compensates for IE's inability. Then, in IE, the code is left intact.

However, I couldn't find a way to stop Firefox from completely removing the code.

Offline

#3 2006-06-23 04:34:06

mharrisonline
Xinha Administrator
From: Denver, Colorado
Registered: 2005-04-11
Posts: 110
Website

Re: Xinha removing tags from html code

Oh, it does work in Firefox, it just has to be in a map node.

<map name="map1">
<area shape="RECT" coords="260,150,308,169" href="../vestigingen.asp?vestiging=3" alt="vestigingen" title="vestigingen" /> </map>

Offline

#4 2006-06-23 06:30:17

Fooneen
New member
Registered: 2006-03-13
Posts: 4

Re: Xinha removing tags from html code

Thanks for the help people, it works now smile. It also loads a lot faster now, because I was still using a version from october last year. And in the case of firefox, the tags are in a map node already so thats not a problem.

Offline

Board footer

Powered by FluxBB