From f8fe629b987eb917c93d6a6800624735a741ad6d Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Sun, 24 Sep 2017 23:33:41 +0200 Subject: [PATCH] Revert "Be less strict when word-wrapping." This reverts commit f176d7dc443c78c3a4df7d0a859761576dc7ffd1. --- 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 943f43c..56f314b 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, break_long_words=False, replace_whitespace=False) + lines = wrap(value, max_value) if lines: # Output first line with label name -- GitLab