1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

Fix bad trim

Accidentally deleted webmention contents, oops
This commit is contained in:
Rohan Kumar 2023-10-12 14:24:32 -07:00
parent 04b3f3291f
commit 4b9927ff33
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -110,8 +110,7 @@
{{- if findRE `^https://brid.gy/[^/]*/mastodon` $webmention.source -}}
<p role="doc-tip" itemprop="accessibilitySummary">This comment may have major formatting errors that could impact screen reader comprehension.</p>
{{- end -}}
<p><q itemprop="text" class="p-content">{{ $webmention.content | replaceRE `^@Seirdy(@pleroma.envs.net)? ?` "" | replaceRE `([ \t]*)?\n*([ \t]*)?` `
` | trim "\n\t" | chomp}}</q></p>
<p><q itemprop="text" class="p-content">{{ $webmention.content | replaceRE `^@Seirdy(@pleroma.envs.net)? ?` "" | chomp}}</q></p>
{{- end -}}
{{- end }}
</dd>