Fixed comment parsing when constructing back the html email

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerSocial@129131 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
costantino.perciante 2016-06-15 16:26:58 +00:00
parent 93e572200c
commit 1013df1f25
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ public class SocialMailingUtil {
for (int i = 0; i < comments.size(); i++) {
String commentTextNoHtml = convertHTML2Text(comments.get(i).getText());
String commentTextNoHtml = comments.get(i).getText().replaceAll("&amp;", "&");
if((commentKey != null && comments.get(i).getKey().equals(commentKey)) && !(notification2Save.getType() == NotificationType.POST_ALERT)){
htmlPost += "<div style=\"margin-top: 10px; margin-bottom: 10px; margin-left: 50px; padding-left: 15px; "