mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
Resolve linter errors exposed by fixed Makefile
- TravisCI didn't like "POSIX" ::= syntax
This commit is contained in:
@@ -18,6 +18,7 @@ var (
|
||||
AllowAttrs("style").Matching(cssSafe).Globally()
|
||||
)
|
||||
|
||||
// HTML sanitizes the provided html, while attempting to preserve inline CSS styling.
|
||||
func HTML(html string) (output string, err error) {
|
||||
output, err = sanitizeStyleTags(html)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user