refs #4: now return html (mostly no more self closing tags)