mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 22:34:25 +01:00
refactor regexes for HTML replacing stuff so another telegram instant view bug is fixed.
now with images inside blockquotes (from quoted events).
This commit is contained in:
2
main.go
2
main.go
@@ -76,7 +76,7 @@ func main() {
|
||||
}
|
||||
|
||||
funcMap := template.FuncMap{
|
||||
"basicFormatting": basicFormatting,
|
||||
"basicFormatting": func(input string) string { return basicFormatting(input, false, false) },
|
||||
"previewNotesFormatting": previewNotesFormatting,
|
||||
"escapeString": html.EscapeString,
|
||||
"sanitizeXSS": sanitizeXSS,
|
||||
|
||||
Reference in New Issue
Block a user