mirror of
https://github.com/openfaas/faas.git
synced 2025-06-19 04:26:35 +00:00
Bump samples/versions - reduce image sizes through multi-stage builds
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -11,7 +11,7 @@ import (
|
||||
|
||||
func main() {
|
||||
input, _ := ioutil.ReadAll(os.Stdin)
|
||||
unsafe := blackfriday.MarkdownCommon([]byte(input))
|
||||
unsafe := blackfriday.Run([]byte(input), blackfriday.WithNoExtensions())
|
||||
html := bluemonday.UGCPolicy().SanitizeBytes(unsafe)
|
||||
fmt.Println(string(html))
|
||||
}
|
||||
|
Reference in New Issue
Block a user