diff --git a/src/main/java/seedu/address/model/task/ReadOnlyTask.java b/src/main/java/seedu/address/model/task/ReadOnlyTask.java index e1c275b68b47..aad6b6875dc3 100644 --- a/src/main/java/seedu/address/model/task/ReadOnlyTask.java +++ b/src/main/java/seedu/address/model/task/ReadOnlyTask.java @@ -99,12 +99,10 @@ default String getAsHTML() { .append(getTime().get().getEndDate().get().toLocalTime()); } builder.append("") - .append("

Description: ") - .append(getDescription()) - .append("

") - .append("

Location: ") - .append(getLocation()) - .append("

") + .append("

Description:

") + .append("

" + getDescription()+ "

") + .append("

Location:

") + .append("

" + getLocation()+ "

") .append("

Tags: "); getTags().forEach(builder::append); builder.append("

")