Skip to content

Commit

Permalink
LPS-27124 Properly escape \n to <br /> in html format e-mail notifica…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
Vilmos Papp authored and brianchandotcom committed May 11, 2012
1 parent d841bc7 commit 545b618
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -554,6 +554,11 @@ protected String replaceContent(
"src=\"" + getPortalURL(company) + "/"
});

if (htmlFormat) {
content = StringUtil.replace(
content, StringPool.NEW_LINE, "<br />");
}

return content;
}

Expand Down

0 comments on commit 545b618

Please sign in to comment.