mirror of
https://github.com/tenox7/wrp.git
synced 2025-08-08 13:24:58 +00:00
no extensions
This commit is contained in:
2
wrp.go
2
wrp.go
@@ -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 {
|
||||
|
Reference in New Issue
Block a user