Merge pull request #4120 from AntonKhorev/no-deprecated-iframe-attrs

Remove deprecated attributes from share html
This commit is contained in:
Andy Allan 2023-08-02 14:14:55 +01:00 committed by GitHub
commit 5f0c072ae0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -316,7 +316,7 @@ L.OSM.share = function (options) {
}
$("#embed_html").val(
"<iframe width=\"425\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"" +
"<iframe width=\"425\" height=\"350\" src=\"" +
escapeHTML(OSM.SERVER_PROTOCOL + "://" + OSM.SERVER_URL + "/export/embed.html?" + $.param(params)) +
"\" style=\"border: 1px solid black\"></iframe><br/>" +
"<small><a href=\"" + escapeHTML(map.getUrl(marker)) + "\">" +