tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.12k stars 528 forks source link

Mustache Inverted sections - 0.7.2-oneiric1 #1001

Closed olafveerman closed 12 years ago

olafveerman commented 12 years ago

After this morning's update to 0.7.2-oneiric1, a tooltip (included below) of one of my existing projects stopped working. It does show the tooltip in the preview area when editing it, but not on the map. When I remove Mustache's Inverted Section {{^NOME}} , the tooltip works as expected.

<strong>{{{NAME}}}</strong><br/>
Sem contribuições registadas no período 2007 - 2010.
{{/NOME}}
{{#NOME}}
<strong>{{{NOME}}}</strong><br/>
Contribuição média: <span style="font-weight: bold; color:rgb(0,90,50)">€{{{FORM_AVG}}}</span><br/><br/>
{{#COMENTARIO}}
<span style="font-size: 0.8em;">
    <strong>Comentário:</strong><br/>
    {{{COMENTARIO}}}
</span>
{{/COMENTARIO}}
{{/NOME}}
willwhite commented 12 years ago

Thanks for the report! It is fixed in master, but I'm not sure how it ever worked in 0.7.0 and 0.7.1. I was able to replicate the issue on those versions as well.

olafveerman commented 12 years ago

Hi Will, Strange you can't replicate it. A couple of days ago I used the inverted section for: http://tiles.mapbox.com/olaf/map/apd-bilateral-portugal

I'm not sure which version I used though.

On 9 December 2011 16:28, Will White reply@reply.github.com wrote:

Thanks for the report! It is fixed in master, but I'm not sure how it ever worked in 0.7.0 and 0.7.1. I was able to replicate the issue on those versions as well.


Reply to this email directly or view it on GitHub: https://github.com/mapbox/tilemill/issues/1001#issuecomment-3081943