Skip to content

Commit

Permalink
Ignore KJV strong tags that are not strong
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Mar 30, 2024
1 parent 23201c9 commit 4d6c814
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion step-web/src/main/webapp/js/passage/step.passage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ step.passage = {

var strongNumbers = strongMorphReference.strong.split(" ");


// reset all spans that are underlined:
this.removeStrongsHighlights(undefined, strongMorphReference.classes);
if (strongNumbers.length > 0) {
Expand Down
1 change: 1 addition & 0 deletions step-web/src/main/webapp/js/step.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ step.util = {
},
suppressHighlight: function(strongNumber) {
if (strongNumber === "") return false;
if (strongNumber.indexOf("lemma") > -1) return true; // KJV has strong tags that are not strong tags
strongNumber = strongNumber.substring(0, 5); // If there is an augment, remove it.
if (strongNumber.substring(0,1) === "H") {
if (strongNumber.substring(1,2) === "9")
Expand Down

0 comments on commit 4d6c814

Please sign in to comment.