From 4b9927ff33fa50f9af0c8c252d21cd058fdc4786 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Thu, 12 Oct 2023 14:24:32 -0700 Subject: [PATCH] Fix bad trim Accidentally deleted webmention contents, oops --- layouts/partials/webmentions.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/partials/webmentions.html b/layouts/partials/webmentions.html index 6395bc4..4d11763 100644 --- a/layouts/partials/webmentions.html +++ b/layouts/partials/webmentions.html @@ -110,8 +110,7 @@ {{- if findRE `^https://brid.gy/[^/]*/mastodon` $webmention.source -}}

This comment may have major formatting errors that could impact screen reader comprehension.

{{- end -}} -

{{ $webmention.content | replaceRE `^@Seirdy(@pleroma.envs.net)? ?` "" | replaceRE `([ \t]*)?\n*([ \t]*)?` ` -` | trim "\n\t" | chomp}}

+

{{ $webmention.content | replaceRE `^@Seirdy(@pleroma.envs.net)? ?` "" | chomp}}

{{- end -}} {{- end }}