From 563920a44ee595f8a4a8599e51f166be2c0b46f5 Mon Sep 17 00:00:00 2001 From: Daniele Tonon Date: Mon, 18 Sep 2023 08:43:06 +0200 Subject: [PATCH] Fixed a bug in using renderingInlineMentions --- render.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.go b/render.go index 3a0f184..523583b 100644 --- a/render.go +++ b/render.go @@ -306,7 +306,7 @@ func render(w http.ResponseWriter, r *http.Request) { if event.Kind == 30023 || event.Kind == 30024 { content = mdToHTML(content, typ == "telegram_instant_view") } else { - content = renderInlineMentions(basicFormatting(html.EscapeString(content))) + content = basicFormatting(renderInlineMentions(html.EscapeString(content))) } // pretty JSON