diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index 316c1e8..e0d4af2 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -433,7 +433,7 @@ def send_unauthed_zephyr(zwrite_args, content): return send_zephyr(zwrite_args + ["-d"], content) def forward_to_zephyr(message): - wrapper = textwrap.TextWrapper(break_long_words=False) + wrapper = textwrap.TextWrapper(break_long_words=False, break_on_hyphens=False) wrapped_content = "\n".join("\n".join(wrapper.wrap(line)) for line in message["content"].split("\n"))