From ef3c58654816633b1d4036dfb3ff460533fea477 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Mon, 9 Oct 2023 13:34:23 -0400
Subject: [PATCH] Fixing some of the formatting int he outbox description

---
 layouts/index.activity_outbox.ajson | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/index.activity_outbox.ajson b/layouts/index.activity_outbox.ajson
index 9cb2490be..3a85bbf92 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>{{ replace (replace .Summary "\n" "<br>") "\r" "" }}{{ end }}<br><a href='{{.Permalink}}'>{{.Permalink}}</a>",
+        "content": {{ printf "\"" | safeHTML }}{{.Title}}{{ if .Summary }}<br>{{ replace (replace .Summary "\n" "<br>") "\r" "" }}{{ end }}<br><a href='{{.Permalink}}'>{{.Permalink}}</a>{{ printf "\"" | safeHTML }},
         "url": "{{.Permalink}}",
         "attributedTo": "{{ .Site.BaseURL }}{{ site.Params.apUser | lower}}",
         "to": "https://www.w3.org/ns/activitystreams#Public",
-- 
GitLab