diff --git a/layouts/partials/webmentions.html b/layouts/partials/webmentions.html
index 83db1bc..cb38889 100644
--- a/layouts/partials/webmentions.html
+++ b/layouts/partials/webmentions.html
@@ -59,7 +59,8 @@
{{ if $webmention.author_name -}}
{{ $webmention.author_name }}
{{ else if $webmention.title -}}
- {{ $webmention.title -}}
+ {{ $webmention.title | replaceRE ` \n` `
+` -}}
{{ else -}}
{{ $webmention.source | strings.TrimPrefix "https://" | strings.TrimPrefix "www." | strings.TrimRight "/" | truncate 35 -}}
{{ end -}}
@@ -68,7 +69,8 @@
{{ if $webmention.title -}}
- {{ $title | truncate 200 -}}
+ {{ $title | truncate 200 | replaceRE ` \n` `
+` -}}
{{ else -}}
{{- $webmention.source | strings.TrimPrefix "https://" | strings.TrimPrefix "www." | strings.TrimRight "/" | truncate 35 -}}
{{ end -}}