mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-18 14:54:24 +01:00
massive template refactoring and cleanup.
This commit is contained in:
@@ -52,7 +52,7 @@ var tgivmdrenderer = html.NewRenderer(html.RendererOptions{
|
||||
|
||||
func mdToHTML(md string, usingTelegramInstantView bool, skipLinks bool) string {
|
||||
md = strings.ReplaceAll(md, "\u00A0", " ")
|
||||
md = replaceNostrURLsWithTags(nostrEveryMatcher, md)
|
||||
md = replaceNostrURLsWithHTMLTags(nostrEveryMatcher, md)
|
||||
|
||||
// create markdown parser with extensions
|
||||
// this parser is stateful so it must be reinitialized every time
|
||||
|
||||
Reference in New Issue
Block a user