diff --git a/src/wireviz/Harness.py b/src/wireviz/Harness.py index 231e583..c0df0aa 100644 --- a/src/wireviz/Harness.py +++ b/src/wireviz/Harness.py @@ -158,9 +158,11 @@ class Harness: if cable.show_name: html = f'{html}{cable.name}' if(len(identification) > 0): # print an identification row if values specified - html = f'{html}' - for attrib in identification: - html = f'{html}' + html = f'{html}' # end identification row html = f'{html}' # attribute row for attrib in attributes:
{attrib}
' + for attrib in identification[0:-1]: + html = f'{html}' # all columns except last have a border on the right (sides="R") + if len(identification) > 0: + html = f'{html}' # last column has no border on the right because the enclosing table borders it html = f'{html}
{attrib}{identification[-1]}