mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-18 06:44:22 +01:00
Fixed a bug in using renderingInlineMentions
This commit is contained in:
@@ -306,7 +306,7 @@ func render(w http.ResponseWriter, r *http.Request) {
|
|||||||
if event.Kind == 30023 || event.Kind == 30024 {
|
if event.Kind == 30023 || event.Kind == 30024 {
|
||||||
content = mdToHTML(content, typ == "telegram_instant_view")
|
content = mdToHTML(content, typ == "telegram_instant_view")
|
||||||
} else {
|
} else {
|
||||||
content = renderInlineMentions(basicFormatting(html.EscapeString(content)))
|
content = basicFormatting(renderInlineMentions(html.EscapeString(content)))
|
||||||
}
|
}
|
||||||
|
|
||||||
// pretty JSON
|
// pretty JSON
|
||||||
|
|||||||
Reference in New Issue
Block a user