Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
partly fixed snippets
allo8803f813c564
diff --git a/htroot/xml/snippet.java b/htroot/xml/snippet.javaindex 19f7116a8..0d13fddf3 100644--- a/htroot/xml/snippet.java+++ b/htroot/xml/snippet.java@@ -63,7 +63,7 @@ public class snippet {prop.put("status",snippet.getSource());if (snippet.getSource() < 11) {//prop.put("text", (snippet.exists()) ? snippet.getLineMarked(queryHashes) : "unknown");- prop.put("text", (snippet.exists()) ? "<![CDATA["+snippet.getLineMarked(queryHashes)+"]]>" : "unknown");+ prop.put("text", (snippet.exists()) ? snippet.getLineMarked(queryHashes) : "unknown");} else {String error = snippet.getError();if ((remove) && (error.equals("no matching snippet found"))) {diff --git a/htroot/xml/snippet.xml b/htroot/xml/snippet.xmlindex 5f9194326..3589d50be 100644--- a/htroot/xml/snippet.xml+++ b/htroot/xml/snippet.xml@@ -1,6 +1,6 @@<?xml version="1.0"?><snippet>- <text>#[text]#</text>+ <text><![CDATA[#[text]#]]></text><status>#[status]#</status><urlHash>#[urlHash]#</urlHash><links>#[links]#</links>@@ -12,4 +12,4 @@<attr>#[attr]#</attr></link>#{/link}#-</snippet>\ No newline at end of file+</snippet>