Merge remote-tracking branch 'origin/development' into development

This commit is contained in:
Tomas Bures 2020-08-02 15:19:53 +02:00
commit aed115a64b

View file

@ -253,7 +253,7 @@ class MessageSender {
html = tools.formatCampaignTemplate(html, this.tagLanguage, mergeTags, true, campaign, list, subscriptionGrouped);
}
const generateText = !!(text || '').trim();
const generateText = !(text || '').trim();
if (generateText) {
text = htmlToText.fromString(html, {wordwrap: 130});
} else {