|
Re: PHP & tidy: msg#00006web.html-tidy.devel
* Nuno Lopes wrote: Exactly, the command line version doesn't have this problem. The PHP wrapper just uses the library normally, and doesn't do anything special: it just pass the html to tidy. The problem is that if I parse a xhtml document, without specifing the 'ouput-xhtml' option, it will return HTML code (and it is even non compliant). The tidylib should automatically check the 'doctype' of the document and then choose the type of the document automatically. If I have some time later, I'll try to produce a minimal program to demonstrate this. Nuno P.S.: Tidy is a great program, I just want to help to improve it ;) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: PHP & tidy: 00006, Bjoern Hoehrmann |
|---|---|
| Next by Date: | Re: PHP & tidy: 00006, Bjoern Hoehrmann |
| Previous by Thread: | Re: PHP & tidyi: 00006, Bjoern Hoehrmann |
| Next by Thread: | Re: PHP & tidy: 00006, Bjoern Hoehrmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |