From 379a066ddeb72012788f3f56fcec7bcf795b9ad9 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 26 Oct 2014 15:34:34 +0200 Subject: Fixes #114 In * case sentence - Description contains quote marks for multiple worded sentence --- scripts/textanalysis.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js index 3c1f3bae..185259d5 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -252,11 +252,7 @@ var textAnalyser2 = function (newtext, finalize) { for (m = 0; m < orderStack.length; m++) { if (orderStack[m] === "NODE") { word += " (" + newnodes[nodeindex] + ") "; - if(newnodes[nodeindex].split(" ").length>1){ - completeSentence += '"'+newnodes[nodeindex]+'"' + " "; - }else{ - completeSentence += newnodes[nodeindex] + " "; - } + completeSentence += newnodes[nodeindex] + " "; nodeindex++; } else if (orderStack[m] === "LINK") { word += " -->" + newlinks[nodeindex] + " --> "; -- cgit v1.3.1