Leaflet/Leaflet — pull request #1844 by jieter (2013-07-08 19:08:47+00:00)
Title: Make L.DivIcon accept HTML Elements in options.html

While writing plugin code, I would like to do transformations on the content of a `L.DivIcon`. This can be done through CSS, but for I simple plugin, I don't like the need of including an additional file.

This PR changes `L.DivIcon` to accept `Element`s created with `L.DomUtil.create(...)` besides the normal html string.