diff --git a/src/wireviz/wv_bom.py b/src/wireviz/wv_bom.py index 93f6676..3a2d55c 100644 --- a/src/wireviz/wv_bom.py +++ b/src/wireviz/wv_bom.py @@ -38,12 +38,11 @@ def get_additional_component_table(harness: "Harness", component: Union[Connecto columns.append(f'{manufacturer_str}' if manufacturer_str else '') columns.append(f'{part.note}' if part.note else '') - rowstr = '' + ''.join([f'{html_line_breaks(col)}' for col in columns]) + '' + rowstr = '\n \n' + ''.join([f' {html_line_breaks(col)}\n' for col in columns]) + ' ' rows.append(rowstr) - print(rows) pre = '' - post = '
' + post = '\n ' if len(rows) > 0: tbl = pre + ''.join(rows) + post else: