Append html
authoramwaterhouse <Andrew Waterhouse>
Mon, 30 Oct 2006 16:31:50 +0000 (16:31 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 30 Oct 2006 16:31:50 +0000 (16:31 +0000)
src/jalview/io/FeaturesFile.java

index d81141c..42b032d 100755 (executable)
@@ -410,6 +410,10 @@ public class FeaturesFile extends AlignFile
                   out.append(next[j].type+"\t");\r
                 else\r
                 {\r
+                  if(next[j].links!=null\r
+                     && next[j].getDescription().indexOf("<html>")==-1)\r
+                    out.append("<html>");\r
+\r
                   out.append(next[j].description+" ");\r
                   if(next[j].links!=null)\r
                     {\r
@@ -428,7 +432,12 @@ public class FeaturesFile extends AlignFile
                                      + "</a>");\r
                         }\r
                       }\r
+\r
+                      if (next[j].getDescription().indexOf("</html>") == -1)\r
+                        out.append("</html>");\r
                     }\r
+\r
+\r
                    out.append("\t");\r
                 }\r
 \r