mirror of
https://github.com/miniflux/v2.git
synced 2025-08-26 18:21:01 +00:00
feat: add custom user JavaScript
This commit is contained in:
parent
f16735fd6d
commit
e07203ad46
26 changed files with 89 additions and 32 deletions
|
@ -56,6 +56,9 @@ func (f *funcMap) Map() template.FuncMap {
|
|||
"safeCSS": func(str string) template.CSS {
|
||||
return template.CSS(str)
|
||||
},
|
||||
"safeJS": func(str string) template.JS {
|
||||
return template.JS(str)
|
||||
},
|
||||
"noescape": func(str string) template.HTML {
|
||||
return template.HTML(str)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue