Closed rcoup closed 7 years ago
Since TileMill sanitizes layer/style names we've not run into the need to wrap them in CDATA or escape them manually. But if you need this then I'd review a pull request with tests alongside it.
@rcoup - got a pull request fixing this around?
bump @rcoup
Sorry! Yeah I think I have a patch somewhere, will try and look it out today.
On Thu, Sep 12, 2013 at 3:21 PM, Dane Springmeyer notifications@github.comwrote:
bump @rcoup https://github.com/rcoup
— Reply to this email directly or view it on GitHubhttps://github.com/mapbox/carto/issues/273#issuecomment-24292757 .
see also #303
@rcoup any news ?
bump @rcoup.
Hi there,
despite the best efforts of #263 / #265, layer names still aren't escaped in the XML output.
foo.mml
becomes
Note the
<Layer>
and<Style>
elements which should look like"Area of Deprivation Index 2006 (Indices 9 & 10)"
not... (Indices 9 & 10)"
(coughs yeah, I know that's not what Layer/style names are for, but I've fixed that bug in my code)