Can Tidy remove illegal attributes??

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 Wednesday, 18 February 2009 14:19:35 UTC