Does Tidy support consolidating multiple consecutive tags?
"Michael J. Lyons" <[email protected]>
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <[email protected]> |
If I have multiple tags, such as "span", with different (non-duplicate) attributes, such as: <span style="my_style"><span font="some_font"><span color="some_color">text</span></span></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> ?