Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-08-13 23:43:04 -0400
committerspingel2008-08-13 23:43:04 -0400
commit08c84772ce0de2d989aea784897729b9f07f1aef (patch)
treeeae846134fd67a0ad661a8e1f531fd10fe5cffc5 /org.eclipse.mylyn.help.ui
parent3d36a2bfaeabb459f1044867343eeef86f958237 (diff)
downloadorg.eclipse.mylyn.tasks-08c84772ce0de2d989aea784897729b9f07f1aef.tar.gz
org.eclipse.mylyn.tasks-08c84772ce0de2d989aea784897729b9f07f1aef.tar.xz
org.eclipse.mylyn.tasks-08c84772ce0de2d989aea784897729b9f07f1aef.zip
NEW - bug 244110: [patch] MediaWikiImageFetcher doesn't fetch all images that are in the downloaded HTML
https://bugs.eclipse.org/bugs/show_bug.cgi?id=244110
Diffstat (limited to 'org.eclipse.mylyn.help.ui')
-rw-r--r--org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/anttask/MediaWikiImageFetcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/anttask/MediaWikiImageFetcher.java b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/anttask/MediaWikiImageFetcher.java
index 2ec97b83a..14a43b87e 100644
--- a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/anttask/MediaWikiImageFetcher.java
+++ b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/anttask/MediaWikiImageFetcher.java
@@ -63,7 +63,7 @@ public class MediaWikiImageFetcher extends Task {
base = base.substring(0, base.length() - 1);
}
Pattern fragmentUrlPattern = Pattern.compile("src=\"([^\"]+)\"");
- Pattern imagePattern = Pattern.compile("alt=\"Image:(.*)\"([^>]+)", Pattern.MULTILINE);
+ Pattern imagePattern = Pattern.compile("alt=\"Image:([^\"]*)\"([^>]+)", Pattern.MULTILINE);
String htmlSrc;
try {
htmlSrc = readSrc();

Back to the top