Skip to content

Leading sharp in generated readme's example code #38

@msrd0

Description

@msrd0

In the example code here there is a leading sharp in the first line that shouldn't be there. In the generated rustdoc it's not present.

Wrong Behaviour

The sharp followed by an empty line is included. Screenshot from the generated README:

image

Expected Behaviour

The sharp, along with the rest of the line, should not be included. Screenshot from the rustdoc:

image

Setup

Issue happens on both ArchLinux and AlpineLinux, Rust/Cargo 1.38.0, Cargo-Readme 3.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions