Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

right dhtml.

allo13d0cff257db
diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js
index 9f717702b..192a661a1 100644
--- a/htroot/js/yacysearch.js
+++ b/htroot/js/yacysearch.js
@@ -53,7 +53,7 @@ function handleState(req) {
//add the bold text
tmpNode=document.createElement("strong")
tmpNode2=document.createTextNode(snippetText.substring(pos+3,pos2));
- tmpNode = tmpNode + tmpNode2;
+ tmpNode.appendChild(tmpNode2);
span.appendChild(tmpNode)
snippetText=substring(pos2+4)