Skip to content

version_sync fails to parse toml blocks when inside blockquotes  #83

Closed
@CreepySkeleton

Description

@CreepySkeleton

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions