X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/df341bdd09208d2b0f84060454cc0000df19deba..54612c196135c939a7d17d51b81b1357f6eac9c3:/src/redakcja/static/js/lib/codemirror-5.49.0/searchcursor.js diff --git a/src/redakcja/static/js/lib/codemirror-5.49.0/searchcursor.js b/src/redakcja/static/js/lib/codemirror-5.49.0/searchcursor.js index aae36dfe..4c8c468f 100644 --- a/src/redakcja/static/js/lib/codemirror-5.49.0/searchcursor.js +++ b/src/redakcja/static/js/lib/codemirror-5.49.0/searchcursor.js @@ -121,8 +121,9 @@ var doFold, noFold if (String.prototype.normalize) { - doFold = function(str) { return str.normalize("NFD").toLowerCase() } - noFold = function(str) { return str.normalize("NFD") } + /* FNP: NFD changed to NFC, because of https://github.com/codemirror/CodeMirror/issues/6672 */ + doFold = function(str) { return str.normalize("NFC").toLowerCase() } + noFold = function(str) { return str.normalize("NFC") } } else { doFold = function(str) { return str.toLowerCase() } noFold = function(str) { return str }