JAL-3981 Additional line breaks - sort of helps
authorJim Procter <j.procter@dundee.ac.uk>
Fri, 25 Mar 2022 14:16:21 +0000 (14:16 +0000)
committerJim Procter <j.procter@dundee.ac.uk>
Fri, 25 Mar 2022 14:16:21 +0000 (14:16 +0000)
src/jalview/io/SequenceAnnotationReport.java

index 369839a..b0b0dee 100644 (file)
@@ -586,7 +586,7 @@ public class SequenceAnnotationReport
         lineLength += accessionId.length() + 1;
         if (countForSource > 1 && summary)
         {
-          sb.append(", ").append(accessionId);
+          sb.append(",\n ").append(accessionId);
           lineLength++;
         }
         else
@@ -604,11 +604,11 @@ public class SequenceAnnotationReport
     }
     if (moreSources)
     {
-      sb.append("<br/>").append(source).append(COMMA).append(ELLIPSIS);
+      sb.append("<br/>\n").append(source).append(COMMA).append(ELLIPSIS);
     }
     if (ellipsis)
     {
-      sb.append("<br/>(");
+      sb.append("<br/>\n(");
       sb.append(MessageManager.getString("label.output_seq_details"));
       sb.append(")");
     }