commit 2790e8cdb5a68921ddb045eb14060e5953a11946 parent d374182a4f0506a35275ff0aa577482222badee2 Author: n0tr1v <n0tr1v@protonmail.com> Date: Thu, 6 Apr 2023 17:21:50 -0700 add doc Diffstat:
| M | pkg/web/handlers/api/v1/topBarHandler.go | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/pkg/web/handlers/api/v1/topBarHandler.go b/pkg/web/handlers/api/v1/topBarHandler.go @@ -796,6 +796,7 @@ var yewtubeBeIDRgx = youtubeComIDRgx var invidiousIDRgx = youtubeComIDRgx func makeHtmlLink(label, link string) string { + // We replace @ to prevent colorifyTaggedUsers from trying to generate html inside the links. r := strings.NewReplacer("@", "@") label = r.Replace(label) link = r.Replace(link)