Ticket #1040 (closed defect: fixed)
htmlRemoveTags doesn't work in IE
|Reported by:||samuel@…||Owned by:||wymsy|
When I use htmlRemoveTags (both with "normal" and compiled regexps) i get an "Object doesn't support this property or method" error when leaving the page (onunload) or viewing the HTML code, in Internet Explorer. Because of some bug in my IE setup it doesn't tell what file the error occurs in, just that it occurs on line 122, but I will try to track this down.
I've tried with very simple regexps but IE always fails on "line 122":
xinha_config.htmlRemoveTags = new RegExp().compile(/aaaa/); xinha_config.htmlRemoveTags = /bbbb/;
This happens both with TransformInnerHTML and DOMWalk with Xinha version 0.931 rev 819.