@ -47,7 +47,7 @@ var Readability = function(uri, doc) {
// Control whether log messages are sent to the console
if(ENABLE_LOGGING){
this.log=function(msg){
dump("Reader: (Readability) "+msg);
dump("Reader: (Readability) "+msg+"\n");
};
}else{
this.log=function(){};
@ -615,7 +615,7 @@ Readability.prototype = {
varsiblingNode=siblingNodes[s];
varappend=false;
this.log("Looking at sibling node: "+siblingNode+" ("+siblingNode.className+":"+siblingNode.id+")"+((typeofsiblingNode.readability!=='undefined')?(" with score "+siblingNode.readability.contentScore):''));
this.log("Looking at sibling node: "+siblingNode.nodeName+" ("+siblingNode.className+":"+siblingNode.id+")"+((typeofsiblingNode.readability!=='undefined')?(" with score "+siblingNode.readability.contentScore):''));
this.log("Sibling has score "+(siblingNode.readability?siblingNode.readability.contentScore:'Unknown'));