git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2599 HMMs can now be dropped onto the desktop
[jalview.git]
/
src
/
jalview
/
util
/
ParseHtmlBodyAndLinks.java
diff --git
a/src/jalview/util/ParseHtmlBodyAndLinks.java
b/src/jalview/util/ParseHtmlBodyAndLinks.java
index
f1b83b8
..
139ee19
100644
(file)
--- a/
src/jalview/util/ParseHtmlBodyAndLinks.java
+++ b/
src/jalview/util/ParseHtmlBodyAndLinks.java
@@
-97,12
+97,12
@@
public class ParseHtmlBodyAndLinks
public ParseHtmlBodyAndLinks(String description, boolean removeHTML,
String newline)
{
public ParseHtmlBodyAndLinks(String description, boolean removeHTML,
String newline)
{
- StringBuilder sb = new StringBuilder(description.length());
if (description == null || description.length() == 0)
{
htmlContent = false;
return;
}
if (description == null || description.length() == 0)
{
htmlContent = false;
return;
}
+ StringBuilder sb = new StringBuilder(description.length());
if (description.toUpperCase().indexOf("<HTML>") == -1)
{
htmlContent = false;
if (description.toUpperCase().indexOf("<HTML>") == -1)
{
htmlContent = false;