Ticket #591 (closed defect: fixed)
|Reported by:||mind.warp@…||Owned by:||gogo|
Here's the scenario...
We're using Xinha as part of a homebrew CMS for an intranet site. We also use a lot of Overlib (a javacript popup tool) on our sites. It was from this we found the bug.
If we do something like
<img src="foo.gif" onclick="return overlib('<a href="#">Click here</a>');"/>
Xinha completely freaks out. Switching back and forth between Source and WYSIWYG corrupts everything. We lose everything we made.
This is using the newest version.
Other WYSIWYG like regular HtmlArea? and FCKeditor handle this fine. But I like Xinha more and it's too late to switch to another.
Currently the ONLY way we can work around this is replacing the < and > symbols with lt and gt versions. But we can't make sure people will always do this.