SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a workflow in SP 2010 that I use to send an email whenever an item is added. I've included the 'Full details' in the body of the email, however when the email arrives it has massive spacing in between each line.

Looking at the HTML, it seems to be putting a 'br' tag at the end of the 'p' tags, so effectively getting double line.

Is there a way to remove certain text (in this case 'br' tags) from stuff (variable let's say) in SharePoint Designer workflows?

share|improve this question

No, not directly! The built-in SharePoint 2010 workflow action Send an Email adds a
tag for each line break in the HTML source. Unfortunately, it does not have a property to disable this behaviour. Only way to get around this is to create a plain text field in the list and create a lookup on it in the WF action. Then copy-paste the HTML source without line breaks to this field on list items.

This is not a pretty work-around but you will otherwise need to code your own Workflow action or find a better one from a thirdparty.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.