JAL-3468 Obsessively fixed self-closing <br/> tags
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 4 Mar 2020 02:13:25 +0000 (02:13 +0000)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 4 Mar 2020 02:13:25 +0000 (02:13 +0000)
src/jalview/io/SequenceAnnotationReport.java

index 9d82d66..1bbc338 100644 (file)
@@ -204,7 +204,7 @@ public class SequenceAnnotationReport
     {
       if (feature.getBegin() == rpos || feature.getEnd() == rpos)
       {
-        if (sb.length() > 6)
+        if (sb0.length() > 6)
         {
           sb.append("<br/>");
         }
@@ -369,7 +369,8 @@ public class SequenceAnnotationReport
                       + (urllink.get(0).toLowerCase()
                               .equals(urllink.get(1).toLowerCase()) ? urllink
                               .get(0) : (urllink.get(0) + ":" + urllink
-                              .get(1))) + "</a></br>");
+                                              .get(1)))
+                      + "</a><br/>");
             }
           } catch (Exception x)
           {