diff --git a/layouts/_default/single.activity.ajson b/layouts/_default/single.activity.ajson index 3fb4a72..5a905c4 100644 --- a/layouts/_default/single.activity.ajson +++ b/layouts/_default/single.activity.ajson @@ -2,9 +2,10 @@ "@context": [ "https://www.w3.org/ns/activitystreams" ], - "title": {{ .Title | jsonify }}, - "content_html": {{ .Content | jsonify }}, - "summary": {{ .Summary | jsonify }}, + "title": {{ (htmlUnescape .Title | safeHTML) | jsonify }}, + "content": {{ (htmlUnescape .Content | safeHTML) | jsonify }}, + "mediaType": "text/html", + "summary": {{ (htmlUnescape .Summary | safeHTML) | jsonify }}, "published": {{ dateFormat "2006-01-02T15:04:05-07:00" .Lastmod | jsonify }}, "updated": {{ dateFormat "2006-01-02T15:04:05-07:00" .Date | jsonify }}, "id": "{{ .Permalink }}",