Subject subject = new Subject();
subjectForm = subjectForm.fill(subject);
return ok(newForm.render(subjectForm, user, node));
}
public static Result edit(Long id) {
<BUG>User user = User.findByEmail(request().username());
Subject subject = Subject.findById(id);
if( subject.description != null ) {</BUG>
subject.description = subject.description.replace("<p>", "").replace("</p>", "").replace("<br />", "\n").replace("<br>", "\n");
}

Subject subject = new Subject();
subjectForm = subjectForm.fill(subject);
return ok(newForm.render(subjectForm, user, node));
}
public static Result edit(Long id) {
Subject subject = Subject.findById(id);
if (subject == null) return notFound("There is no Subject with ID " + id);
User user = User.findByEmail(request().username());
if( subject.description != null ) {
subject.description = subject.description.replace("<p>", "").replace("</p>", "").replace("<br />", "\n").replace("<br>", "\n");
}
