Merge pull request #329 from writeas/add-footer

Add footer and header element
pull/273/head^2
Matt Baer 5 years ago committed by GitHub
commit 504a2a42aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      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
}

Loading…
Cancel
Save