Fix plain text generation
This commit is contained in:
parent
8dab13d903
commit
a92b08ddb4
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue