words not wrapping when using tokens

Level 1

words not wrapping when using tokens

Hi Everyone,

I've created a form that allows prospects to fill in lengthy text responses. In turn, I've used tokens to display these responses in an email alert to stakeholders.  When the tokens render the responses they never word wrap in the email.  It just is a long string of words that expands the email parameters the length of the text.  I've put in the code that marketo suggested:



So, far nothing has worked.  See how the 9's stretch out the borders of the email?  Help please!


thank you in advance!

Level 10 - Champion Alumni

Re: words not wrapping when using tokens

Is the text in a table or div with a defined width? If not, it will just keep on stretching.

Not applicable

Re: words not wrapping when using tokens

Hi Sarah,

Put your text in <div> with break-word CSS.

Example: 99999999999999999999999999999999999999999999

Wrap this text  in following element:

<div style="overflow-wrap: break-word">99999999999999999999999999999999999999999999</div>

Put this code into the token and it works fine.