Apply line break formatting in to personalisation tokens in email
With personalisation tokens we can inset text into emails based on the relevant contact, company etc data.
However at the moment if you have a multi line text field with line breaks and paragraphs, this formatting will show correctly in HubSpot on the contact record, but in the resulting email there will be no line breaks and so the email content is a jumble into one paragraph.
Example: " ID: 1234 Name: John Details: These are fake details Number: 001122334455 " gets formatted as: " ID: 1234 Name: John Details: These are fake details Number: 001122334455 "
@brianzimorowicz Hubspot must've changed something over night (12 Aug). Yesterday, the <pre> tag trick all worked fine and throughly tested. This morning, it no longer works.
Very frustrating! I was hoping to email something important today.
Has anyone found a recent fix for this? I have a deal message field that is fed by zapier. It all looks great upon form entry and in the contact view, but the internal email doesnt show line breaks at all. Any help would be great!
The <pre class="rich-text-body">{{ item.description }}</pre> option worked for me. Although in my email, HS automatically changed it to: <pre>{{ item.description }}</pre>
I will note: I initially thought you weren't able to change the font, and then realized I just needed to highlight the placeholder token and then change the font details, and they came through in the email 🙂
I was able to apply line breaks in addition to other formatting using a property with "rich text" type. This kind of property accept HTML to format the text. Example:
This feature is desperately needed, and it's inconceivable that it's not in place by now. It is not an extraordinary request or something so unique that it only applies to a few users; this is a pretty universal function.
We use Hubspot to manage applications to our school, so we send updates to our applicants about the state of their paperwork. We use a multi-line text field to provide details about how to fix errors that may be present. 90% of the time, there are multiple errors, so applicants need to take multiple steps. For example:
1. Please retake the photo of your document with the seal showing.
2. Please provide an acceptable Proof of Residence. We can accept the following: A, B, C, D.
3. Document A must include the student's name.
Here is what this looks like in the Contact Record ("All Properties" page):
We update this field for dozens of applicants every day. Even if I could make sense of the solutions listed so far (which I can't), it 's not manageable to have to enter code every single time we make a change to this field.
This issue needs to be addressed with the utmost urgency.