guile-commonmark icon indicating copy to clipboard operation
guile-commonmark copied to clipboard

Error when calling clean-list-nodes

Open fpischedda opened this issue 1 year ago • 0 comments

Hi!

I've compiled from master branch and guile 3.0.1, each time the parser encounters a list it fails at the list cleaning stage with an error, here is the stack trace:

In ice-9/eval.scm:
    159:9  4 (_ #(#(#<directory (haunt reader commonmark) 558c8e…>) …))
In commonmark/sxml.scm:
    33:35  3 (commonmark->sxml _)
In commonmark/blocks.scm:
   308:21  2 (clean-list-nodes (text ((closed . #t)) "`pagination…") #)
   306:21  1 (any-blank-nodes? "node text")
In commonmark/node.scm:
    113:2  0 (node-children "node text")

For now I have commented this line, and it is enough to continue building my site :slightly_smiling_face: but I think it is worth having a look at this issue.

Unfortunately I am not experienced with Guile and guile-commonmark codebase but I would be happy to test any fixes or pair to fix this issue :slightly_smiling_face:

fpischedda avatar Apr 15 '23 09:04 fpischedda