From febc2d8e5cac0f9df4d3f6b5b1f23233d14b1d6e Mon Sep 17 00:00:00 2001 From: pagezhou Date: Sun, 14 Apr 2019 19:07:53 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E4=BF=AE=E5=A4=8DBK-=E5=8F=91?= =?UTF-8?q?=E9=80=81=E9=80=9A=E7=9F=A5=E6=8F=92=E4=BB=B6=E4=B8=AD=E9=82=AE?= =?UTF-8?q?=E4=BB=B6=E9=80=9A=E7=9F=A5=E5=86=85=E5=AE=B9=E4=B8=8D=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C=E7=9A=84=E9=97=AE=E9=A2=98=20#132?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_plugins/components/collections/sites/open/bk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipeline_plugins/components/collections/sites/open/bk.py b/pipeline_plugins/components/collections/sites/open/bk.py index d51020d1ea..690bbc063e 100644 --- a/pipeline_plugins/components/collections/sites/open/bk.py +++ b/pipeline_plugins/components/collections/sites/open/bk.py @@ -124,7 +124,8 @@ def _email_args(self, receivers, title, content): return { 'receiver__username': receivers, 'title': title, - 'content': content + # 保留通知内容中的换行和空格 + 'content': u"
%s
" % content } def _weixin_args(self, receivers, title, content):