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:
parent
93e572200c
commit
1013df1f25
|
@ -435,7 +435,7 @@ public class SocialMailingUtil {
|
||||||
|
|
||||||
for (int i = 0; i < comments.size(); i++) {
|
for (int i = 0; i < comments.size(); i++) {
|
||||||
|
|
||||||
String commentTextNoHtml = convertHTML2Text(comments.get(i).getText());
|
String commentTextNoHtml = comments.get(i).getText().replaceAll("&", "&");
|
||||||
|
|
||||||
if((commentKey != null && comments.get(i).getKey().equals(commentKey)) && !(notification2Save.getType() == NotificationType.POST_ALERT)){
|
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; "
|
htmlPost += "<div style=\"margin-top: 10px; margin-bottom: 10px; margin-left: 50px; padding-left: 15px; "
|
||||||
|
|
Loading…
Reference in New Issue