From 457051106d9db8e739f7bfb8db878aeda9fb8e80 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Sat, 8 Feb 2020 13:04:23 -0500 Subject: [PATCH] Add u-url class and span in mention link Ref T627 --- postrender.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postrender.go b/postrender.go index 4afa42a..e70c0d5 100644 --- a/postrender.go +++ b/postrender.go @@ -88,7 +88,7 @@ func applyMarkdownSpecial(data []byte, skipNoFollow bool, baseURL string, cfg *c } md = []byte(hashtagReg.ReplaceAll(md, []byte("#$1"))) handlePrefix := cfg.App.Host + "/@/" - md = []byte(mentionReg.ReplaceAll(md, []byte("@$1$2"))) + md = []byte(mentionReg.ReplaceAll(md, []byte("@$1$2"))) } // Strip out bad HTML policy := getSanitizationPolicy()