feat: exclude PSD files from version control

This commit is contained in:
juanatsap
2025-11-11 13:53:14 +00:00
parent 97aa8971c1
commit 1f5aeb1c4c
13 changed files with 1200 additions and 25 deletions
+3 -3
View File
@@ -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