Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.trac.core')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java
index 15ec9f823..6da41cb08 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java
@@ -433,8 +433,8 @@ public class TracWebClient extends AbstractTracClient {
} else if (version.startsWith("Trac 0.11")) { //$NON-NLS-1$
return new TracRepositoryInfo(1, 0, 0, version);
} else {
- throw new TracException(NLS.bind(
- Messages.TracWebClient_Trac_version_X_is_unsupported_Error, version));
+ throw new TracException(NLS.bind(Messages.TracWebClient_Trac_version_X_is_unsupported_Error,
+ version));
}
}
@@ -744,6 +744,8 @@ public class TracWebClient extends AbstractTracClient {
sb.append(" "); //$NON-NLS-1$
} else if (token.getType() == Token.COMMENT) {
// ignore
+ } else if (token.getType() == Token.TAG && ((HtmlTag) token.getValue()).getTagType() == Tag.A) {
+ // ignore, Trac 0.11 wraps milestone values in links
} else {
break;
}

Back to the top