Since the latest versions of HMTL::Parser do not parse the content of iframes, some of my applications using HTML::SimpleLinkExtor have broken. The text between the iframe tags is what the browser displays and is usually more HTML, and I need to be able to extract any links in that text. I'd like to at least be able to turn on parsing for iframes, even if it is off by default.
> Since the latest versions of HMTL::Parser do not parse the content of > iframes, some of my applications using HTML::SimpleLinkExtor have > broken. The text between the iframe tags is what the browser displays > and is usually more HTML, and I need to be able to extract any links in > that text.
> I'd like to at least be able to turn on parsing for iframes, even if it > is off by default.
I see the point if you need to emulate the behaviour of very old browsers. A workaround is to invoke a subparser on the iframe content text. I'll see if I find an easier way to do this.
The TODO file has this entry: - make literal tags configurable. The current list is hardcoded to be "script", "style", "title", "iframe", "textarea", "xmp", and "plaintext". which would be my preferred way to fix this.
> > is off by default.
> > I see the point if you need to emulate the behaviour of very old > browsers.
I explained the point just above the text you quoted. What's "the spec" you'r refering to?