in src/fmeval/reporting/cells.py [0:0]
def _create_table_row(row: List[Any], cell_align: str, is_header: bool = False) -> str:
"""
Creates the HTML for a single table row.
:param row: A list representing the elements in the row
:param cell_align: The alignment of text within each cell of the table
:is_header: Whether `row` corresponds to the table header
:returns: A string encoding the HTML for the table row
"""
tag = "th" if is_header else "td"
html = ["<tr>"]
for i, elem in enumerate(row):
style = f'style="text-align: {cell_align};"' if i != 0 else ""
html.append(f"<{tag} {style}>{elem}</{tag}>")
html.append("</tr>")
return " ".join(html)