diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index 1cceb64..ea667ce 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -602,7 +602,7 @@ Feedback button or at support@zulipchat.com.""" 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"].replace("@", "@@").split("\n")) + for line in message["content"].replace("@", "@@").split("\n")) zwrite_args = ["zwrite", "-n", "-s", message["sender_full_name"], "-F", "Zephyr error: See http://zephyr.1ts.org/wiki/df", diff --git a/integrations/rss/rss-bot b/integrations/rss/rss-bot index 2cdabf7..594c042 100755 --- a/integrations/rss/rss-bot +++ b/integrations/rss/rss-bot @@ -147,9 +147,9 @@ def elide_subject(subject): def send_zulip(entry, feed_name): content = "**[%s](%s)**\n%s\n%s" % (entry.title, - entry.link, - strip_tags(entry.summary), - entry.link) + entry.link, + strip_tags(entry.summary), + entry.link) message = {"type": "stream", "sender": opts.zulip_email, "to": opts.stream,