<strong><li>Description:</strong> {{description.text}}</li>
This string converts my formatted text to plane text without any issues
<strong><li>Description:</strong> {{description.html}}</li>
This string puts the formatted text in the email but adds a space above the description.html. Any ideas how to keep this from happening?
Hi @Tom Scoggin
If you write that expression to the audit log, you will find that the rule's html encoding is adding a paragraph around the description. And so the email (or a browser) display is interpreting the results it is adding space before the paragraph.
One work-around could be to use remove() to strip off the paragraph and prefix the description with a break, perhaps like this:
<strong><li>Description:</strong> <br>{{description.html.remove("<p>").remove("</p>")}}</li>
That could work for the scenario you show. If there was other embedded markup this might break that.
Kind regards,
Bill
Good morning @[deleted]
This worked perfectly. I just needed to get rid of the <br> because I actually didn't want a brake in the line of text.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.