Closed jmooring closed 2 years ago
markdown
a <!-- b --> c
expected
<p>a <!-- b --> c</p
actual
<p>a <!-- b --> c</p>
CommonMark dingus
@yuin Thank you for the quick fix. Much appreciated!
markdown
expected
actual
test.go
```go package main import ( "bytes" "fmt" "github.com/yuin/goldmark" "github.com/yuin/goldmark/renderer/html" ) func main() { md := goldmark.New( goldmark.WithRendererOptions( html.WithUnsafe(), ), ) input := `a c` var buf bytes.Buffer if err := md.Convert([]byte(input), &buf); err != nil { panic(err) } fmt.Println(buf.String()) } ```CommonMark dingus