Removed leading/trailing whitespace from data in HTML output, switched to izip