Can Tidy remove illegal attributes??

Thanks for the information —and sorry for the delay in my answer... I've
been busy.

If anybody knows how to fix this problem I will need to search some way by
my own...

Anybody knows if the project is still active?

Regards.

2009/2/18 Eric Frost <eric.frost@mp2kmag.com>

Your English is fine.
>
> Sorry I understand now. The "type" and "value" attributes of the li element
> were deprecated in HTML 4.01, and are not supported in XHTML 1.0 Strict DTD.
>
> I played with it and can't get it to remove the type and value attributes
> either.
>
> I found some discussion about this a while back but don't know if it went
> anywhere --
> http://markmail.org/message/ntjc75slebjss2rp
>
> Sorry can't be more help.
>
> Eric
>
>
>
> From: Valentín
> Sent: Wednesday, February 18, 2009 9:57 AM
> To: eric.frost@mp2kmag.com
> Subject: Re: Can Tidy remove illegal attributes??
>
>
>
> Hi!
>
>  Remove the type and value attributes or something with the <ul> ?
>>
>
> I think it must remove type and value, because these attributes are
> non-strict, and even setting doctype as strict and output-xhtml as true it
> doesn't remove them —and yes, I know drop-propietary-attibutes, but it seems
> to be not involved in this.
>
> Sorry if my english is poor, I'm Spanish and my english level is not good
> enought.
>
>
> 2009/2/18 <eric.frost@mp2kmag.com>
>
> You said:
>
> <li type="i">hello!</li><li value="500">bye!</li>
> results in
> <ul><li type="i">hello!</li><li value="500">bye!</li></ul>
>
>
> I'm not sure I understand. How do you want it to be? Remove the type and
> value attributes or something with the <ul> ?
>
> Anyway, I think the config option you are looking for is
> --drop-proprietary-attributes
>
> http://tidy.sourceforge.net/docs/quickref.html#drop-proprietary-attributes
>
> Eric
>
> __
> http://www.mappointpartners.com
> http://www.gardenotter.com
>
>
> Quoting Valentín <valentin@sanva.net>:
>
>
> Hello everyone!
>
> I'm new using mailing lists, so my apologizes in advance if I'm doing
> something wrong.
>
> I wish to know if Tidy can remove illegal attributes.
>
> For example, <li type="i">hello!</li><li value="500">bye!</li> results in
> <ul><li type="i">hello!</li><li value="500">bye!</li></ul> even with
> doctype
> = strict and output-xhtml = true.
>
> Any way to correct this?
>
> Thanks for your time.
>

Received on Tuesday, 10 March 2009 14:31:23 UTC