diff --git a/postrender.go b/postrender.go index e70c0d5..84aa9a9 100644 --- a/postrender.go +++ b/postrender.go @@ -179,6 +179,7 @@ func getSanitizationPolicy() *bluemonday.Policy { policy.AllowAttrs("target").OnElements("a") policy.AllowAttrs("title").OnElements("abbr") policy.AllowAttrs("style", "class", "id").Globally() + policy.AllowElements("header", "footer") policy.AllowURLSchemes("http", "https", "mailto", "xmpp") return policy }