HTML encoding in tooltips
Happy new year all,
Something changed in the way tooltips encode html between some version of tilemill and another (not really sure when), and I suddenly have a string of ' ' blocks showing up in my tooltips here. I had added them initially (back in November) to pad out the text beyond the the "close" X of the tooltip, because blank spaces weren't working.
Is there any way to get mapbox to go back to reading those as spaces rather than text? I'm trying to avoid re-exporting the tiles, but if that's the only way I can suck it up.
Thanks for the help!
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Will White on 03 Jan, 2012 04:23 PM
Happy new year to you as well!
The way HTML entities are handled changed in TileMill 0.7.0. It's probably better to use CSS style overrides for this kind of display adjustment. You can use CSS to add padding to your text or to the close button.
Let me know if that works!
Will
3 Posted by wboykinm on 06 Jan, 2012 02:22 AM
Yeah, I should have added the padding a few months back; I would have avoided the trouble.
But the re-export worked out. Thanks!
Support Staff 4 Posted by Will White on 06 Jan, 2012 06:54 PM
Thanks for the update and glad it's working now!
Will White closed this discussion on 06 Jan, 2012 06:54 PM.