Skip to content

Commit 828cdc1

Browse files
committed
Avoid using .innerHTML though the API response data is already sanetized
1 parent 47f48d5 commit 828cdc1

7 files changed

+81
-30
lines changed

demo/demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h3>✨ Modernization Features</h3>
102102
const map = L.map('map').setView([51.52255, -0.10249], 13);
103103

104104
// Add tile layer with proper attribution
105-
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
105+
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
106106
attribution: '&copy; <a href="https://osm.org/copyright">OpenStreetMap</a> contributors'
107107
}).addTo(map);
108108

dist/js/L.Control.OpenCageGeocoding.dev.js

Lines changed: 24 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/L.Control.OpenCageGeocoding.dev.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/L.Control.OpenCageGeocoding.esm.js

Lines changed: 24 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/L.Control.OpenCageGeocoding.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/L.Control.OpenCageGeocoding.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)