Skip to content

Commit 15a8a6c

Browse files
authored
Merge pull request #74 from TAMULib/sprint6-ryan-cleanup
Added line break to email
2 parents c84d4b2 + 3911d64 commit 15a8a6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/edu/tamu/app/model/repo/impl/IdeaRepoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void delete(Idea idea) {
6363

6464
public Idea reject(Idea idea) {
6565
idea.setState(IdeaState.REJECTED);
66-
String body = "Your idea " + idea.getTitle() + ", for " + idea.getService().getName() + ", has been rejected for the following reason:\n" + idea.getFeedback();
66+
String body = "Your idea " + idea.getTitle() + ", for " + idea.getService().getName() + ", has been rejected for the following reason:<br />" + idea.getFeedback();
6767
try {
6868
if (idea.getEmail() != null && !idea.getEmail().isEmpty()) {
6969
emailService.sendEmail(idea.getEmail(), REJECTION_SUBJECT, body);

0 commit comments

Comments
 (0)