Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

unwanted line breaks in notifications

jean-pauldehaas
Tera Guru

Hi,

 

we get these unwanted line breaks in our e-mail notifications

find_real_file.png

has anyone experienced and solved this before ?

1 ACCEPTED SOLUTION

@Jean-Paul de Haas yes correct so in the source code of the message body if this CSS property is there it will break the lines

explanations:

The word-break property specifies how words should break when reaching the end of a line.

break-all:To prevent overflow, word may be broken at any character

Hope this helps 

mark the answer correct if this helps you

View solution in original post

5 REPLIES 5

Mohith Devatte
Tera Sage
Tera Sage

@Jean-Paul de Haas are you trying to print this using email script ?

if yes check for <br> tags or any styles that youmight have applied 

 

yes but there is nothing in the script itself

 

(function runMailScript(current, template, email, email_action, event) {
//resolution notes same as close notes
    var userRecipient = email_action.recipient_fields.toString().split(',');
    template.print(trMessage('Resolution Notes',userRecipient,current,email_action, event ));
    
})(current, template, email, email_action, event);

it seems to be working if i open up the HTML source code and remove this part "word-break: break-all"

@Jean-Paul de Haas yes correct so in the source code of the message body if this CSS property is there it will break the lines

explanations:

The word-break property specifies how words should break when reaching the end of a line.

break-all:To prevent overflow, word may be broken at any character

Hope this helps 

mark the answer correct if this helps you