- From: Ignacio Vazquez-Abrams <ignacio@openservices.net>
- Date: Thu, 19 Jul 2001 00:25:27 -0400 (EDT)
- To: Patrick Dingle <pdingle@checkernet.com>
- cc: "'html-tidy@w3.org'" <html-tidy@w3.org>
Received on Thursday, 19 July 2001 00:25:42 UTC
On Wed, 18 Jul 2001, Patrick Dingle wrote: > I would like to use HTML tidy to convert an HTML fragment (i.e. a subset of > things within the <body> of the page) to XHTML. Is there a command line > option or a way to do this? HTML tidy always seems to add the <html> and > <body> tags to the fragment. > > Patrick Already solved. Apply the attached patch to the given release of HTML Tidy. Then just add "body-only: yes" to your Tidy config file. It will leave you with everything inside but excluding the body tag. -- Ignacio Vazquez-Abrams <ignacio@openservices.net>
Received on Thursday, 19 July 2001 00:25:42 UTC