- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Wed, 25 Feb 2004 20:33:37 +0100
- To: "Leonard Armstrong" <LArmstrong@NBME.org>
- Cc: <html-tidy@w3.org>
* Leonard Armstrong wrote: >Can tidy be used to alter transitional XHTML into valid strict HTML? My >current focus is on the allowable child elements of the <body> tag. I have a >transitional input file with <a> and <br> tags as children of <body>. When I >run tidy with "output-xhtml: true" and "doctype: strict" in my config file, >it does indeed output a strict XHTML DOCTYPE declaration, but it still leaves >the <a> and <br> tags as direct children of the <body> tag. You are looking for the --enclose-text and --enclose-block-text options.
Received on Wednesday, 25 February 2004 14:33:28 UTC