HTML to Hamlet converter