It does, and this is set in the default configuration found in extensions/tidy/tidy.conf. It still seems to be generating doctype, head and body tags though.
Travis
On 5/11/07, Edward Z. Yang edwardzyang@thewritingpot.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Tim Starling wrote:
Wrap the text in a valid document structure and then strip it after tidy completes. This is what Parser::tidy() does.
Doesn't tidy have a configuration option 'show-body-only' which returns only a document fragment? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGRSlHqTO+fYacSNoRAsKTAJ47jRUtXeNdB/fpbn0ZOxg5ARXdOACfezHx McMm/TRJcoyfJmdtjLDWOog= =PmE4 -----END PGP SIGNATURE-----
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l