Compare commits

..

No commits in common. "a30e4d3796aa3ab2c455177135b6f90f79b57b04" and "9fe218e639db68684c343cd51202e5fb4841afb8" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -57,7 +57,7 @@ func newConfig() *Config {
MaxImgWidth: 1920,
PDFDir: "/var/www/cpolis/pdfs",
Port: ":1664",
Version: "v0.17.1",
Version: "v0.17.0",
WebDir: "/var/www/cpolis/web",
}
}

View File

@ -31,7 +31,6 @@ func ConvertToHTML(md string) (string, error) {
}
p := bluemonday.UGCPolicy()
p.AllowAttrs("id").OnElements("h1", "h2", "h3", "h4", "h5", "h6")
html := p.Sanitize(buf.String())
return html, nil