1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00

fix entity escaping

This commit is contained in:
Rohan Kumar 2022-09-22 10:29:22 -07:00
parent 2218a44a36
commit c2fafa8d97
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -70,7 +70,7 @@
<span itemprop="name" class="p-name">
{{ if $webmention.title -}}
{{ $title | truncate 200 | replaceRE ` \n` `
` -}}
` | safeHTML -}}
{{ else -}}
{{- $webmention.source | strings.TrimPrefix "https://" | strings.TrimPrefix "www." | strings.TrimRight "/" | truncate 35 -}}
{{ end -}}