no extensions

This commit is contained in:
Antoni Sawicki 2024-06-21 01:31:04 -07:00
parent 5a86c32d9a
commit a212a14bd8

2
wrp.go
View File

@ -436,7 +436,7 @@ func (rq *wrpReq) toMarkdown() {
return
}
log.Printf("Got %v bytes from jina.ai", len(md))
p := parser.NewWithExtensions(parser.CommonExtensions | parser.Autolink)
p := parser.New()
d := p.Parse(md)
ast.WalkFunc(d, func(node ast.Node, entering bool) ast.WalkStatus {
if link, ok := node.(*ast.Link); ok && entering {