Skip to content

Commit

Permalink
Allow line breaks in additional parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
formatc1702 committed Mar 23, 2021
1 parent c210c6e commit 010b5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wireviz/wv_gv_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def nested_html_table_dict(rows):
html.append('<table border="0" cellspacing="0" cellpadding="3" cellborder="1">')
for (key, value) in rows.items():
html.append(f' <tr><td align="left" balign="left">{key}</td>')
html.append(f' <td align="left" balign="left">{value}</td></tr>')
html.append(f' <td align="left" balign="left">{html_line_breaks(value)}</td></tr>')
html.append(' </table>')
out = '\n'.join(html)
else:
Expand Down

0 comments on commit 010b5c9

Please sign in to comment.