diff --git a/umap/static/umap/test/Util.js b/umap/static/umap/test/Util.js index f6e9382d..311e25a5 100644 --- a/umap/static/umap/test/Util.js +++ b/umap/static/umap/test/Util.js @@ -166,6 +166,13 @@ describe('L.Util', function () { assert.equal(L.Util.escapeHTML(''), '') }) + it('should not escape geo: links', function () { + assert.equal( + L.Util.escapeHTML(''), + '' + ) + }) + it('should not fail with int value', function () { assert.equal(L.Util.escapeHTML(25), '25') })