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 %}
{% endif %}
details: |
{{ fixme }}
{{ fixme|nl2br }}
description: |
{% 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 %}
@ -54,7 +54,7 @@ feature:
{{ tagTrans('boundary', tags.boundary) }}
{% endif %}
body: |
{{ fixme == 'yes' ? keyTrans('fixme') : fixme }}
{{ fixme == 'yes' ? keyTrans('fixme') : fixme|nl2br }}
markerSymbol: |
{{ markerPointer({ fillColor: const.fixme[category].color|default('#f2756a') }) }}
listMarkerSymbol: |

Loading…
Cancel
Save