CloudMade/Leaflet — pull request #801 by lars-sh (2012-07-12 23:53:16+00:00)
Title: Fixed basic XHTML problems.

On strict XHTML sites that are even responding with the http content-type header for valid xhtml files Leaflet was broken in 0.3.1 and also in 0.4.

In order to fix basic usage (tested: OSM, Marker, Popup and Polyline) the VML detection need to be made "secure" and all of those html entities need to be replaced.

I guess this request could be interesting for a lot more people.

PS: For simplier testing, just rename your html files to xhtml files and test them.