Ticket #1040 (closed defect: fixed)
htmlRemoveTags doesn't work in IE
| Reported by: | samuel@… | Owned by: | wymsy |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin_GetHtml | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: | samuel@… |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
