Skip to content

Commit

Permalink
Put back the comment that I accidentally removed...
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSmith-LT committed Mar 10, 2014
1 parent b7f3e67 commit d61bb37
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -1179,7 +1179,8 @@ function x_findText(pageXML) {
// function adds glossary links, LaTeX, page links to text found in x_findText function
function x_insertText(node) {
var tempText = node.nodeValue;


// check text for glossary words - if found replace with a link
if (x_glossary.length > 0) {
for (var k=0, len=x_glossary.length; k<len; k++) {
var regExp = new RegExp('(^|\\s)(' + x_glossary[k].word + ')([\\s\\.,!?]|$)', 'i');
Expand Down

0 comments on commit d61bb37

Please sign in to comment.