[xhtml] fix soup2xhtml to deal with malformed div,body and html tags which may leads to malformed return value
# copyright %(year)s %(author)s, all rights reserved.# contact %(author-web-site)s -- mailto:%(author-email)s#%(long-license)s"""%(distname)s views/forms/actions/components for web ui"""