this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: Update RSS template to use signed URIs

+2 -1
+2 -1
internal/templates/renderer.go
··· 52 52 var textTemplateFuncs = texttemplate.FuncMap{ 53 53 // irclinkURL builds a click-tracking URL for IRC links 54 54 // If a signature is provided, it's appended for verified click tracking 55 + // Note: Uses & for XML-safe output since text/template doesn't auto-escape 55 56 "irclinkURL": func(baseURL string, id int, sig string) string { 56 57 if sig != "" { 57 - return fmt.Sprintf("%s/irclink/?%d&sig=%s", baseURL, id, sig) 58 + return fmt.Sprintf("%s/irclink/?%d&sig=%s", baseURL, id, sig) 58 59 } 59 60 return fmt.Sprintf("%s/irclink/?%d", baseURL, id) 60 61 },