W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2009

Does Tidy support consolidating multiple consecutive tags?

From: Michael J. Lyons <mikelyons@spongysoft.com>
Date: Sun, 22 Feb 2009 15:44:31 -0800
Message-ID: <B2BB2A54F0982F4CB241F00E63E6030E0309D3@kaitlyn.SpongySoft.com>
To: <html-tidy@w3.org>
If I have multiple tags, such as "span", with different (non-duplicate)
attributes, such as:


<span style="my_style"><span font="some_font"><span


Can "Tidy" consolidate these into one (as below)? Would there be any
side effect of doing this? 


<span style="my_style" font="some_font" color="some_color">text</span>


Also, what about multiple tags like "span" with the same attribute?
I.e., this:


<span attr="my_attr"><span attr="my_attr">text</span></span>


Becomes this:


<span attr="my_attr">text</span>


Received on Monday, 23 February 2009 11:05:33 UTC

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