Merge pull request #17283 from agh1/stop-icon-png
[civicrm-core.git] / ang / crmMailing / BlockPreview.js
index c2b692462e53dc8388eca0cac11e66ce74833e20..5e582dc0566a0d5cb06576db3bf397c66cbf1a4f 100644 (file)
@@ -21,6 +21,7 @@
           });
         };
         scope.doSend = function doSend(recipient) {
+          recipient = JSON.parse(JSON.stringify(recipient).replace(/\,\s/g, ','));
           scope.$eval(attr.onSend, {
             preview: {recipient: recipient}
           });