diff --git a/culture.json b/culture.json index ddb6417..1034039 100644 --- a/culture.json +++ b/culture.json @@ -81,7 +81,7 @@ "
  • ", " ", " {{ keyTrans('inscription') }}:", - " {{ localizedTag(tags, 'inscription') }}", + " {{ localizedTag(tags, 'inscription')|nl2br }}", "
  • ", "{% elseif attribute(tags, 'inscription:url') %}", "
  • ", diff --git a/detailsBody.html b/detailsBody.html index 4cf1329..56daf12 100644 --- a/detailsBody.html +++ b/detailsBody.html @@ -3,7 +3,7 @@ {% if tags.description or hasDescription %}
  • - {{ localizedTag(tags, 'description')|default(attribute(tags, 'description:' ~ hasDescription|keys[0])) }} + {{ localizedTag(tags, 'description')|default(attribute(tags, 'description:' ~ hasDescription|keys[0]))|nl2br }}
  • {% endif %} diff --git a/historic.json b/historic.json index f4eee9c..99fab6c 100644 --- a/historic.json +++ b/historic.json @@ -64,7 +64,7 @@ "
  • ", " ", " {{ keyTrans('inscription') }}:", - " {{ localizedTag(tags, 'inscription') }}", + " {{ localizedTag(tags, 'inscription')|nl2br }}", "
  • ", "{% elseif attribute(tags, 'inscription:url') %}", "
  • ", diff --git a/memorial.json b/memorial.json index 100f5d7..8fdfb6e 100644 --- a/memorial.json +++ b/memorial.json @@ -52,7 +52,7 @@ "
  • ", " ", " {{ keyTrans('inscription') }}:", - " {{ localizedTag(tags, 'inscription') }}", + " {{ localizedTag(tags, 'inscription')|nl2br }}", "
  • ", "{% elseif attribute(tags, 'inscription:url') %}", "
  • ", diff --git a/popupBody.html b/popupBody.html index 462f113..9ec1368 100644 --- a/popupBody.html +++ b/popupBody.html @@ -3,7 +3,7 @@ {% if tags.description or hasDescription %}
  • - {{ localizedTag(tags, 'description')|default(attribute(tags, 'description:' ~ hasDescription|keys[0])) }} + {{ localizedTag(tags, 'description')|default(attribute(tags, 'description:' ~ hasDescription|keys[0]))|nl2br }}
  • {% endif %}