diff --git a/src/main/java/com/gongjakso/server/domain/contest/entity/Contest.java b/src/main/java/com/gongjakso/server/domain/contest/entity/Contest.java index 095d927a..9ecde299 100644 --- a/src/main/java/com/gongjakso/server/domain/contest/entity/Contest.java +++ b/src/main/java/com/gongjakso/server/domain/contest/entity/Contest.java @@ -42,7 +42,7 @@ public class Contest extends BaseTimeEntity { public void update(UpdateContestDto contest,String imgUrl){ this.title= (contest.title()==null) ? this.title : contest.title(); - this.body= (contest.body()==null) ? this.body : contest.body(); + this.body= (contest.body()==null) ? this.body : contest.body().replace("\n","
").replace("\t","");; this.contestLink= (contest.contestLink()==null) ? this.contestLink : contest.contestLink(); this.institution= (contest.institution()==null) ? this.institution : contest.institution(); this.startedAt= (contest.startedAt()==null) ? this.startedAt : contest.startedAt();