microcosm-cc / bluemonday

bluemonday: a fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS
https://github.com/microcosm-cc/bluemonday
BSD 3-Clause "New" or "Revised" License
3.14k stars 176 forks source link

handlers.go: license header is not a package comment #93

Closed riking closed 3 years ago

riking commented 4 years ago

The license header didn't have any blank lines between it and the package declaration, causing it to be interpreted as a package comment and causing linter errors (because now two files have a package comment).

Adding a single blank line is one of the simplest fixes I've ever done.