Skip to content
Snippets Groups Projects
Verified Commit f176d7dc authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Be less strict when word-wrapping.

parent 5dbc504a
Branches
Tags
No related merge requests found
...@@ -28,7 +28,7 @@ def form_to_text_table(form, width=74, sep=' | '): ...@@ -28,7 +28,7 @@ def form_to_text_table(form, width=74, sep=' | '):
res = [] res = []
for label, value in output_list: for label, value in output_list:
# Wrap value to lines # Wrap value to lines
lines = wrap(value, max_value) lines = wrap(value, max_value, break_long_words=False, replace_whitespace=False)
if lines: if lines:
# Output first line with label name # Output first line with label name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment