L.mapbox.sanitize(string)
A HTML sanitization function, with the same effect as the default value of the sanitizer
option of L.mapbox.featureLayer
and L.mapbox.legendControl
.
Options | Value | Description |
---|---|---|
text | string | String of content you wish to sanitize. |