mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
Reihen Page -- all kinds of stuff
This commit is contained in:
10
helpers/functions/string.go
Normal file
10
helpers/functions/string.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package functions
|
||||
|
||||
import "html/template"
|
||||
|
||||
func Safe(s string) template.HTML {
|
||||
if len(s) == 0 {
|
||||
return ""
|
||||
}
|
||||
return template.HTML(s)
|
||||
}
|
||||
Reference in New Issue
Block a user