version_sync fails to parse toml blocks when inside blockquotes
CreepySkeleton opened this issue · 2 comments
CreepySkeleton commented
This part of a readme
> This is a blockquote
>
> ```toml
> clap = { git = "https://github.com/clap-rs/clap/" }
> ```
fails with
README.md (line 22) ... TOML parse error: unexpected character found: `>` at line 1 column 1 in
> clap = { git = "https://github.com/clap-rs/clap/" }
I'm not sure if it's a bug in your crate or in pulldown-cmark
.
As a workaround, would you be wiling to accept a PR that strips any leading >
from toml
blocks?
mgeisler commented
Thanks very much for reporting this! It's a bug in my library... I'm working on a fix right now.
CreepySkeleton commented
Thank you for the crate and the fix! It's very helpful 👍