summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-02-02 23:37:35 +0800
committerBigCoke233 <hi@guhub.cn>2026-02-02 23:37:35 +0800
commita85b7d6117eb9441efef8a5990275199b083443d (patch)
tree603edcbf88b709b35ef87174ac8165b8a40b8f48
parent741858e3c703350e020df32dbb90b74f4d4c21ce (diff)
feat: remove unparsed emoji shotcode `:.*?:` in Webmention
Former-commit-id: dd55cd8f05dced06ae129e4b53426b0aa8921250
-rw-r--r--layouts/_partials/posts/webmention-replies.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/posts/webmention-replies.html b/layouts/_partials/posts/webmention-replies.html
index 570a0e4d..fbdfc773 100644
--- a/layouts/_partials/posts/webmention-replies.html
+++ b/layouts/_partials/posts/webmention-replies.html
@@ -8,7 +8,7 @@
<div class="text-secondary">
<h4 class="m-0">
<a href="{{ or .url .author.url }}">
- {{ .author.name }}
+ {{ replaceRE ":.*?:" "" .author.name }}
</a>
</h4>
{{ $t := time.AsTime .received }}