fix bug with category

This commit is contained in:
Grahame Grieve 2020-06-10 22:08:04 +10:00
parent 08b59b89e2
commit 8f838d164f
1 changed files with 5 additions and 1 deletions

View File

@ -48,7 +48,11 @@ public class DiagnosticReportRenderer extends ResourceRenderer {
PropertyWrapper pw = getProperty(dr, "category");
if (valued(pw)) {
h2.tx("(");
render(h2, pw.value());
boolean first = true;
for (BaseWrapper b : pw.getValues()) {
if (first) first = false; else h2.tx(", ");
render(h2, b);
}
h2.tx(") ");
}
if (dr.has("issued")) {