Re: [Htmlparser-user] <a> tags?
Brought to you by:
derrickoswald
From: Martin S. <mst...@gm...> - 2008-03-17 09:42:29
|
2008/3/11, Wojciech Gryc <woj...@gm...>: > Specifically, the link appears in the page, but surrounds an image, like so: > > <p><a href="http://feeds.feedburner.com/mydd"><img > src="..."></a> > > When I use a basic tag name filter, the actual tag above doesn't get > returned (while other <a> tag links do)... I've been playing around with the > code and don't know where to go from here. Is it because it surrounds an > image? Is there anything I can do to fix this? If it is only a problem with this particular piece of HTML, then it could be useful to post it verbatim. Looking to the part you have in your e-mail, it seems that the img-tag is not properly closed (it should be <img src="..." /> if it is a XHTML document, that is). However, I'm not sure if HTMLParser just ignores this... from previous expieriences, I noted that HTMLParser is pretty strict when it comes to standard compliance. -- Martin Sturm |