View | Details | Raw Unified
Collapse All | Expand All

(-) plugins/org.eclipse.help.base/src/org/eclipse/help/search/HelpIndexBuilder.java (-2 / +9 lines)
 Lines 555-562    Link Here 
				hrefs.add(href);
				hrefs.add(href);
		}
		}
		NodeList subtopics = topic.getElementsByTagName("topic"); //$NON-NLS-1$
		NodeList subtopics = topic.getElementsByTagName("topic"); //$NON-NLS-1$
		for (int i = 0; i < subtopics.getLength(); i++)
		for (int i = 0; i < subtopics.getLength(); i++) {
			add((Element) subtopics.item(i), hrefs);
			Element subtopic = (Element) subtopics.item(i);
			href = getAttribute(subtopic, "href");
			if (href != null && !href.equals("") && !href.startsWith("http://") && !href.startsWith("https://")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
				href = SearchIndex.getIndexableHref(href);
				if (href != null)
					hrefs.add(href);
			}
		}
	}
	}
	
	
	/*
	/*