This uses our own gomatrix lib with the SendHTML function which adds HTML to formatted_body in matrix. golang-commonmark is used to convert markdown into valid HTML.
This commit is contained in:
9
vendor/gitlab.com/golang-commonmark/markdown/fuzz.go
generated
vendored
Normal file
9
vendor/gitlab.com/golang-commonmark/markdown/fuzz.go
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
//+build gofuzz
|
||||
|
||||
package markdown
|
||||
|
||||
func Fuzz(data []byte) int {
|
||||
md := New(HTML(true))
|
||||
md.Parse(data)
|
||||
return 1
|
||||
}
|
||||
Reference in New Issue
Block a user