diff --git a/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/NoticeView.java b/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/NoticeView.java index 2bb68c0130..b6047f0d90 100644 --- a/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/NoticeView.java +++ b/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/NoticeView.java @@ -69,7 +69,11 @@ public SeverityLevel getSeverityLevel() { * @return description text */ public String getCommentForField(String field) { - return comments.getFieldComment(field); + if (field.isBlank()) { + return field; + } else { + return comments.getFieldComment(field); + } } /** * Returns the description text for the notice. diff --git a/main/src/main/resources/report.html b/main/src/main/resources/report.html index 9debb700e2..5a0544601c 100644 --- a/main/src/main/resources/report.html +++ b/main/src/main/resources/report.html @@ -4,6 +4,12 @@ GTFS Schedule Validation Report + +