diff --git a/static/js/editors.js b/static/js/editors.js index ea7dd16..b39baa0 100644 --- a/static/js/editors.js +++ b/static/js/editors.js @@ -655,7 +655,7 @@ var editors = { if (keyWord !== '') { keyWord = '' + keyWord + ''; } - contents += matches[j] + keyWord; + contents += data[i].contents[0].substring(startIndex - matches[j].length, startIndex) + keyWord; } searcHTML += '
  • '