Fixed HTML issues in simplified output