reverted HTML generation to match original edits.
HTML Edits