From f176d7dc443c78c3a4df7d0a859761576dc7ffd1 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Sun, 24 Sep 2017 23:32:08 +0200 Subject: [PATCH] Be less strict when word-wrapping. --- ticdesk_events/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ticdesk_events/util.py b/ticdesk_events/util.py index 56f314b..943f43c 100644 --- a/ticdesk_events/util.py +++ b/ticdesk_events/util.py @@ -28,7 +28,7 @@ def form_to_text_table(form, width=74, sep=' | '): res = [] for label, value in output_list: # Wrap value to lines - lines = wrap(value, max_value) + lines = wrap(value, max_value, break_long_words=False, replace_whitespace=False) if lines: # Output first line with label name -- GitLab