Fixed bug in HTML output that was responsible for table layout messup