commit
d2d3781ae2
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);
|
html = tools.formatCampaignTemplate(html, this.tagLanguage, mergeTags, true, campaign, list, subscriptionGrouped);
|
||||||
}
|
}
|
||||||
|
|
||||||
const generateText = !!(text || '').trim();
|
const generateText = !(text || '').trim();
|
||||||
if (generateText) {
|
if (generateText) {
|
||||||
text = htmlToText.fromString(html, {wordwrap: 130});
|
text = htmlToText.fromString(html, {wordwrap: 130});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue