Browse Source

fixme: break line if fixme contains newline

sidewalks-category
parent
commit
4015797d4b
  1. 4
      fixme.yaml

4
fixme.yaml

@ -34,7 +34,7 @@ feature:
{% endfor %} {% endfor %}
{% endif %} {% endif %}
details: | details: |
{{ fixme }}
{{ fixme|nl2br }}
description: | description: |
{% set found = false %} {% set found = false %}
{% for k in ['amenity', 'shop', 'telecom', 'waterway', 'craft', 'highway', 'railway', 'aerialway', 'emergency', 'geological', 'man_made', 'natural', 'office', 'power', 'aeroway', 'tourism', 'leisure', 'military', 'landuse', 'barrier', 'route'] if not found %} {% for k in ['amenity', 'shop', 'telecom', 'waterway', 'craft', 'highway', 'railway', 'aerialway', 'emergency', 'geological', 'man_made', 'natural', 'office', 'power', 'aeroway', 'tourism', 'leisure', 'military', 'landuse', 'barrier', 'route'] if not found %}
@ -54,7 +54,7 @@ feature:
{{ tagTrans('boundary', tags.boundary) }} {{ tagTrans('boundary', tags.boundary) }}
{% endif %} {% endif %}
body: | body: |
{{ fixme == 'yes' ? keyTrans('fixme') : fixme }}
{{ fixme == 'yes' ? keyTrans('fixme') : fixme|nl2br }}
markerSymbol: | markerSymbol: |
{{ markerPointer({ fillColor: const.fixme[category].color|default('#f2756a') }) }} {{ markerPointer({ fillColor: const.fixme[category].color|default('#f2756a') }) }}
listMarkerSymbol: | listMarkerSymbol: |

Loading…
Cancel
Save