Balancing Tags in HTML and XHTML Excerpts