css - C# Email - New lines not rendering with white-space: pre-wrap -
i have email table , 1 value contains string multiple lines. (enter-key) when viewed in outlook or view source in ie, white-space not working.
any idea or solution?
thanks.
new lines within html not rendered such. need add <br>
tags @ end of each line make sure email rendered correctly new lines.
you can within c# code replacing every new line character in problematic value <br>
.
Comments
Post a Comment