[yunqa.de] DIHtmlParser: Empty Attribute Problem

  • From: "Mike Dixon" <mike@xxxxxxxxxxx>
  • To: <yunqa@xxxxxxxxxxxxx>
  • Date: Thu, 30 Jul 2009 07:53:18 -0500

I'm using DIHtmlParser and the CharCase and Writer plugin to simply convert
an html page to lowercase before saving the file.

My Problem is that when I have the following code:

<img src="foo.gif" alt="" />

It is converted to:

<img src="foo.gif" alt/>

Notice the ="" is missing from the output.

I've tried setting DIHParser.TrimAttribValues := False; but that did not
help.

What am I missing?

_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: