feat: exclude PSD files from version control
This commit is contained in:
@@ -47,9 +47,9 @@ func (m *Manager) loadTemplates() error {
|
||||
"eq": func(a, b string) bool {
|
||||
return a == b
|
||||
},
|
||||
"safeHTML": func(s string) template.HTML {
|
||||
return template.HTML(s)
|
||||
},
|
||||
// Security: safeHTML function removed to prevent XSS attacks
|
||||
// Go's html/template package automatically escapes HTML by default
|
||||
// If you need to render HTML, sanitize it first with a proper library
|
||||
}
|
||||
|
||||
// Parse main templates
|
||||
|
||||
Reference in New Issue
Block a user