Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for parsing of image links inside of anchor links (image-links)
Michael Peter Christen57e00baf2664
diff --git a/source/net/yacy/document/parser/html/TransformerWriter.java b/source/net/yacy/document/parser/html/TransformerWriter.javaindex f26161be8..53d8e91de 100644--- a/source/net/yacy/document/parser/html/TransformerWriter.java+++ b/source/net/yacy/document/parser/html/TransformerWriter.java@@ -234,15 +234,10 @@ public final class TransformerWriter extends Writer {}// it's a tag! which one?- StringBuilder ret0 = new StringBuilder();if (opening) {- // case (5): the opening should not be here. we close the previous tag as if it had been closed correctly- // this may happen if the html is not well-formed, like forgotten close tags- ret0.append(filterTagCloseing(quotechar));-- // after this point we just go on and process a new tag- ret0.append(filterTagOpening(tag, content, quotechar));- return ret0.toString().toCharArray();+ // case (5): the opening should not be here. But we keep the order anyway+ this.filterCont.append(filterTagOpening(tag, content, quotechar));+ return filterTagCloseing(quotechar);}if (!tag.equalsIgnoreCase(this.filterTag)) {