Skip to content

Commit

Permalink
Add transform.Plainify to the summary
Browse files Browse the repository at this point in the history
Signed-off-by: Melroy van den Berg <[email protected]>
  • Loading branch information
melroy89 authored Oct 22, 2024
1 parent 0306b6a commit c4ae100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/social/share.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 = . -}}
Expand Down

0 comments on commit c4ae100

Please sign in to comment.