Skip to content

Commit

Permalink
prevent lookup of KJV lemma tag in strong
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Mar 30, 2024
1 parent 6c27388 commit c9ccba4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion step-web/src/main/webapp/js/step.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -3861,7 +3861,8 @@ step.util = {
var strongArray = strong.split(" ");
var uniqueStrongArray = [];
for (var j = 0; j < strongArray.length; j++) { // remove duplicates
if (uniqueStrongArray.indexOf(strongArray[j]) == -1)
if ((strongArray[j].indexOf("lemma") > -1) && // KJV has some non strong tags
(uniqueStrongArray.indexOf(strongArray[j]) == -1))
uniqueStrongArray.push(strongArray[j]);
}
var additionalPath = step.state.getCurrentVersion();
Expand Down

0 comments on commit c9ccba4

Please sign in to comment.