diff options
| author | Alon Levy <alon@pobox.com> | 2014-10-12 23:08:37 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-10-12 23:08:37 +0300 |
| commit | bbcc947ea7e7b610a770991b6366263acc15f78e (patch) | |
| tree | f55f351b02d4a81de8ba7bf40ad475c61e7bc9b2 /scripts | |
| parent | 41e81eacc0edcea0ac3f5f27ae77d051668898cf (diff) | |
Fixes #89
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/textanalysis.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js index 58d05139..e8781054 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -245,9 +245,8 @@ var textAnalyser2 = function (newtext, finalize) { } nodeindex++; } else if (orderStack[m] === "LINK") { - linkindex++; - word += " -->" + newlinks[linkindex] + " --> "; - completeSentence += newlinks[linkindex]; + word += " -->" + newlinks[nodeindex] + " --> "; + completeSentence += newlinks[nodeindex]; } } completeSentence = completeSentence.trim(); |
