Re: Can Tidy remove illegal attributes??
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>: > 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. >