Skip to content

Commit

Permalink
Fixes #55
Browse files Browse the repository at this point in the history
  • Loading branch information
yuin committed Dec 5, 2019
1 parent 66aa556 commit ea2c6c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions fuzz/fuzz_test.go
Expand Up @@ -8,6 +8,7 @@ import (

"github.com/yuin/goldmark"
"github.com/yuin/goldmark/extension"
"github.com/yuin/goldmark/parser"
"github.com/yuin/goldmark/renderer/html"
"github.com/yuin/goldmark/util"
)
Expand All @@ -23,14 +24,22 @@ func TestFuzz(t *testing.T) {
fmt.Printf("%s\n", util.VisualizeSpaces(data))
fmt.Println("||||||||||||||||||||||")
markdown := goldmark.New(
goldmark.WithParserOptions(
parser.WithAutoHeadingID(),
parser.WithAttribute(),
),
goldmark.WithRendererOptions(
html.WithUnsafe(),
html.WithXHTML(),
),
goldmark.WithExtensions(
extension.DefinitionList,
extension.Footnote,
extension.GFM,
extension.Typographer,
extension.Linkify,
extension.Table,
extension.TaskList,
),
)
var b bytes.Buffer
Expand Down

0 comments on commit ea2c6c3

Please sign in to comment.