utf-8 encode inputs early!
html </ol> tag at the wrong place
added HTML 4.01 Strict doctype, template now W3C valid