From 2cfb09e9a3aa720b902535a5bdf3641bcd8a903f Mon Sep 17 00:00:00 2001
From: Melroy van den Berg <melroy@melroy.org>
Date: Wed, 23 Oct 2024 22:56:04 +0000
Subject: [PATCH] theme(fix): add transform.Plainify to the summary body content of the share links (#758)

---
 layouts/partials/social/share.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/social/share.html b/layouts/partials/social/share.html
index cb56e12..14cdafc 100644
--- a/layouts/partials/social/share.html
+++ b/layouts/partials/social/share.html
@@ -66,7 +66,7 @@
   {{- $setup := .setup -}}
   {{- $separator := "&" -}}
   {{- $title := $context.Title | transform.HTMLEscape -}}
-  {{- $description := $context.Summary | transform.HTMLEscape -}}
+  {{- $description := $context.Summary | transform.Plainify | transform.HTMLEscape -}}
   {{- $permalink := $context.Permalink | transform.HTMLEscape -}}
   {{- with $setup.separator -}}
     {{- $separator = . -}}

--
Gitblit v1.10.0