diff --git a/layouts/index.activity_outbox.ajson b/layouts/index.activity_outbox.ajson index e3553666daeb92b5a4f7812167c9faa6af42fe79..6c01d04ff3560fdc1f6553ec380731e6bdc9e644 100644 --- a/layouts/index.activity_outbox.ajson +++ b/layouts/index.activity_outbox.ajson @@ -28,7 +28,7 @@ "object": { "id": "{{ .Permalink }}", "type": "Note", - "content": "{{.Title}}{{ if .Summary }}<br>{{ .Summary }}{{ end }}<br><a href='{{.Permalink}}'>{{.Permalink}}</a>", + "content": "{{.Title}}{{ if .Summary }}<br>{{ .Summary.replace(/(?:\r\n|\r|\n)/g, '<br>') }}{{ end }}<br><a href='{{.Permalink}}'>{{.Permalink}}</a>", "url": "{{.Permalink}}", "attributedTo": "{{ .Site.BaseURL }}{{ site.Params.apUser | lower}}", "to": "https://www.w3.org/ns/activitystreams#Public",