This commit is contained in:
maddalax 2024-10-30 13:50:52 -05:00
parent 965a8487b9
commit 129c230c72

View file

@ -26,7 +26,7 @@ func RawHtml(ctx *h.RequestContext) *h.Page {
`), `),
h.P( h.P(
h.Text("Sanitizing input can be done using "), h.Text("Sanitizing input can be done using "),
Link("https://pkg.go.dev/html#EscapeString", "html.EscapeString"), Link("html.EscapeString", "https://pkg.go.dev/html#EscapeString"),
h.Text(" or by using "), h.Text(" or by using "),
Link("bluemonday", "https://github.com/microcosm-cc/bluemonday."), Link("bluemonday", "https://github.com/microcosm-cc/bluemonday."),
h.Text(" for more control over sanitization."), h.Text(" for more control over sanitization."),