Encode & as & inside HTML-attributes

See http://stackoverflow.com/a/3705601 for an explanation.
pull/11/head
spinF 8 years ago
parent 0843f3acf4
commit 4939822bb4
No known key found for this signature in database
GPG Key ID: 3CE5D2B0502C0CF9

@ -14,7 +14,7 @@
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.30.0/mapbox-gl.css' rel='stylesheet' />
</head>
<body>
<iframe id="github-button" src="https://ghbtns.com/github-btn.html?user=lukasmartinelli&repo=osm-liberty&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
<iframe id="github-button" src="https://ghbtns.com/github-btn.html?user=lukasmartinelli&amp;repo=osm-liberty&amp;type=star&amp;count=true&amp;size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
<div id='map'></div>
<script>
var map = new mapboxgl.Map({

Loading…
Cancel
Save