You are not logged in.
Maby I missed some configuration here, maby Xinha is supposed to be XHTML compliant in default mode and I have to force it to be HTML v4.01. I have notioced all <br> becomes <br />, however no browser seems to have problems rendering this code in HTML v4.01. Today I found a page for one of our customers which had broken terribly due to Xinha's XHTML features, take this line :
<p><br><iframe width="468" scrolling="no" height="73" frameborder="0" src="http://www.somewhere.com/"></iframe></p>
Try entering this in the Xinha editor, it will quickly become :
<p><br /><iframe width="468" scrolling="no" height="73" frameborder="0" src="http://www.somewhere.com/" /></p>
The problem is the iFrame which doesnt render well within HTML v4.01 with the /> ending. Ill look into the .js to see if I missed something, but I think you should be aware of this everyone.
Offline
I see that adding "iframe" to the variable at HTMLArea._closingTags solves the problem.
As another user mentioned in a entirely different post, adding a space inbetween also solves it, example :
<iframe src="..."> </iframe> as opposed to : <iframe src="..."></iframe>
However, remembering adding a " " here and there for no apparent reason cant be expected by the common users who's only goal is creating a working WYSIWYG page.
Last edited by kimss (2005-07-12 16:42:28)
Offline
Indeed, iframe requires a full closing tag, as does script (with src) I believe. Can you submit that as a ticket for Version 1.0, thanks.
James Sleeman
Offline