wooorm / markdown-rs

CommonMark compliant markdown parser in Rust with ASTs and extensions
https://docs.rs/markdown/1.0.0-alpha.18/markdown/
MIT License
836 stars 41 forks source link

Fix parsing of nested links #73

Closed sheremetyev closed 12 months ago

sheremetyev commented 12 months ago

Enter event for LabelText should be inserted before existing events at the index in order to have correct nesting. Otherwise nested elements could have Enter event first and that would result in incorrect nesting in the tree when converting to AST.

Fixes #50

wooorm commented 12 months ago

Thank you, released! :)