Skip to content

Commit

Permalink
Tweak details view: don't split at ; (RPB-256)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Feb 25, 2025
1 parent 66a3cd2 commit 824d5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/TableRow.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public String process(JsonNode doc, String property, String param,
return filtered.isEmpty() ? ""
: String.format("<tr><td>%s</td><td>%s</td></tr>", label,
filtered.stream()
.flatMap(s -> Arrays.asList(s.split("; ")).stream())
.flatMap(s -> Arrays.asList(s.split("[^\\s]; ")).stream())
.map(val -> label(doc, property, param, val, keys))
.collect(Collectors.joining(
property.equals("subjectChain") ? " <br/> " : " | ")));
Expand Down

0 comments on commit 824d5d5

Please sign in to comment.