kopia lustrzana https://github.com/manuelkasper/sotlas-frontend
Honor line breaks in SMP route descriptions
rodzic
ed7b27ae8b
commit
05765e9562
|
@ -48,7 +48,7 @@ export default {
|
|||
routes.push({
|
||||
id: track.hdr_id,
|
||||
title: track.track_title,
|
||||
htmlDescription: '<p>' + this.escapeHtml(track.track_notes) + '</p><p><small>Track imported from <a href="https://www.sotamaps.org" target="_blank">SMP</a></small></p>',
|
||||
htmlDescription: '<p>' + this.escapeHtml(track.track_notes).replace(/\n/g, '<br />') + '</p><p><small>Track imported from <a href="https://www.sotamaps.org" target="_blank">SMP</a></small></p>',
|
||||
description: track.track_notes,
|
||||
author: track.callsign,
|
||||
distance,
|
||||
|
|
Ładowanie…
Reference in New Issue