Re: [Htmlparser-developer] Bug with img tag?
Brought to you by:
derrickoswald
From: Derrick O. <Der...@ro...> - 2003-07-03 15:38:46
|
Stig, Yes, you're correct. See bug #755929 Empty string attr. value causes attr parsing to be stopped <http://sourceforge.net/tracker/index.php?func=detail&aid=755929&group_id=24399&atid=381399> It's been fixed in version 1.4 though: http://sourceforge.net/project/showfiles.php?group_id=24399&release_id=168419 Derrick Stig Tanggaard wrote: > Hey > > I noticed that when the img tag takes the following form: > > <img height=45 > alt="" > > src="http://www2.incredimail.com/images/newsletter/021/maintitle.gif" > width=460 border=0> > > The rest of the attributes after alt (inclusive) disappears. > > This happens when iterating over the nodes and when I call node.toHtml() > > I suspect its the empty alt tag causing it, coz removing it will get > the tags properly. > > Stig Tanggaard > > ps. this is with version 1.3. |