W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999

Tidy request

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Sat, 3 Jul 1999 16:20:12 -0400
To: <html-tidy@w3.org>
A lot of the authoring tools automatically generate, for example, <I> and <B> in
place of <em> and <strong> (MS FrontPage 98 generated the latter, but FP2000 has
reverted to the former -- with no option to change or set it).  It would be
handy if there were a "replace-elements" option to obviate the need for Perl,
XSL, or a text editor's search-and-replace function.  Something like:

	replace-elements: i, em; b, strong

PS.  I suppose it would have to be attribute-aware, though.  Given an XML input
fragment of

	<foo bar="5" />

and a config file containing

	new-empty-tags: foo
	replace-elements: foo, zot

the result fragment should come out as

	<zot bar="5" />

Would this be difficult to implement?

Received on Saturday, 3 July 1999 16:20:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:46 UTC