[yunqa.de] Re: Another DIHtmlCasePlugin problem

  • From: "Max Terentiev" <support@xxxxxxxxxx>
  • To: <yunqa@xxxxxxxxxxxxx>
  • Date: Fri, 9 Jul 2021 17:47:53 +0300

Hi,

It's will be perfect if you add some settings to keep
original html code as is. CasePlugin should change only
case of selected html elements (tags, attributes, etc) but
keep their values as is. 

---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
support@xxxxxxxxxx

-----Original Message-----
From: yunqa-bounce@xxxxxxxxxxxxx [mailto:yunqa-bounce@xxxxxxxxxxxxx] On Behalf ;
Of Delphi Inspiration
Sent: Friday, July 9, 2021 3:52 PM
To: yunqa@xxxxxxxxxxxxx
Subject: [yunqa.de] Re: Another DIHtmlCasePlugin problem

The result HTML is perfectly valid, the quotation marks which you are missing 
are not required.

I am on vacation until the weekend. If I recall correctly, there is a setting 
in the TDIHtmlWriterPlugin which controls if and how tag attribute values are 
quoted.

If this does not help, I will provide more details after my return early next 
week.

Ralf

On July 9, 2021 7:56:10 AM UTC, Max Terentiev <support@xxxxxxxxxx> wrote:

Hi Ralf,

After changing tag case using DIHtmlCasePlugin some img tags gets broken.

Original line:

<IMG border=0 hspace=0 alt="" src="Industriales.jpg" width=800 height=2079>

Becomes:

<img border=0 hspace=0 alt src=Industriales.jpg width=800 height=2079>

As you can see - lost Alt="" and lost quotes in src="Industriales.jpg"

I use HtmlParser, HtmlCasePlugin, HtmlWriterPlugin with same options as in
demo projected included to DiHtmlParser.

It's a bug or I must change some settings ?

Thanks for help !

---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
support@xxxxxxxxxx


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



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



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



Other related posts: