You are not logged in.
Pages: 1
Hi,
Xinha is converting the HTML created into XHTML. For example:
<area coords=".." ... >
Becomes:
<area coords=".." ... />
I've been aware of this for a while and it's never caused me any problems. Until now...
If I try to validate a page (against HTML 4.01 strict) with an image map in it the second form gives a validation error. The first doesn't.
Is there anyway of stopping Xinha from adding these backslashes?
Thanks,
Robin
Offline
You must be using the getHtml plugin, because the built-in getHtml() function doesn't support the <area> tag (ticket #551). The getHtml plugin was designed to produce XHTML code, but you should be able to get rid of the backslashes by commenting out line 75:
// replace(c[4], '<$1$2 />').//terminate singlet tags
I haven't tried this, so I don't know what other problems it might cause.
Offline
Ok, thanks. I'll try that. Wasn't aware that I was using any plugins though. But I'll double check.
Thanks,
Robin
Offline
Pages: 1