Skip to content

Commit

Permalink
fix:[Process] Mail notification contains HTML tags -EXO-64330
Browse files Browse the repository at this point in the history
Prior to this change, when create a request in process and user member in space mentioned in 'Who can manage the process' of the process and enabled 'For process manager - A new request has been created' notifs for mails, check received mail , this mail notification contains HTML tags. To fix this problem, remove the <p> tag that was created while typing a description. after this change, Mail notification escaped HTML tags.
  • Loading branch information
akhanfir committed Aug 14, 2023
1 parent c6b0bf7 commit 001778e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected MessageInfo makeMessage(NotificationContext notificationContext) {
String processTitle = notificationInfo.getValueOwnerParameter(NotificationArguments.REQUEST_PROCESS.getKey());
templateContext.put("PROCESS_TITLE", encoder.encode(processTitle));
templateContext.put("REQUEST_TITLE", encoder.encode(requestTitle));
templateContext.put("REQUEST_DESCRIPTION", encoder.encode(requestDescription));
templateContext.put("REQUEST_DESCRIPTION", requestDescription);
}
templateContext.put("PROCESS_URL", encoder.encode(processUrl));
templateContext.put("REQUEST_URL", encoder.encode(requestUrl));
Expand Down

0 comments on commit 001778e

Please sign in to comment.