Catch empty attribution in overlay

This commit is contained in:
Yohan Boniface 2023-03-01 17:35:07 +01:00
parent b589787dc1
commit f6f765e52f

View file

@ -46,6 +46,7 @@ L.Util.escapeHTML = function (s) {
return s.replace(/</gm, '&lt;'); return s.replace(/</gm, '&lt;');
}; };
L.Util.toHTML = function (r) { L.Util.toHTML = function (r) {
if (!r) return '';
var ii; var ii;
// detect newline format // detect newline format