mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 08:12:11 +00:00
fix entity escaping
This commit is contained in:
parent
2218a44a36
commit
c2fafa8d97
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@
|
||||||
<span itemprop="name" class="p-name">
|
<span itemprop="name" class="p-name">
|
||||||
{{ if $webmention.title -}}
|
{{ if $webmention.title -}}
|
||||||
{{ $title | truncate 200 | replaceRE ` \n` `
|
{{ $title | truncate 200 | replaceRE ` \n` `
|
||||||
` -}}
|
` | safeHTML -}}
|
||||||
{{ else -}}
|
{{ else -}}
|
||||||
{{- $webmention.source | strings.TrimPrefix "https://" | strings.TrimPrefix "www." | strings.TrimRight "/" | truncate 35 -}}
|
{{- $webmention.source | strings.TrimPrefix "https://" | strings.TrimPrefix "www." | strings.TrimRight "/" | truncate 35 -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
Loading…
Reference in a new issue