Skip to content

Commit

Permalink
fix #51
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Sep 28, 2016
1 parent d349656 commit b4926cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glotdict.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jQuery(document).ready(function () {
word = word.replace(/\)/g, "\\)");
word = word.replace(/\(/g, "\\(");
//The magic
var rgxp = new RegExp('[^\/\-\.\-?\=]\\b(' + word + ')\\b[^\-\.\=](?![^<>()\"]*>)', 'gi');
var rgxp = new RegExp('[^\/\.\-?\=]\\b(' + word + ')\\b[^\-\.\=](?![^<>()\"]*>)', 'gi');
var print = JSON.stringify(item);
print = print.replace(/\'/g, "");
if (!item.length) {
Expand Down

0 comments on commit b4926cb

Please sign in to comment.