Skip to content

backslash escape does not work as expected #146

@alexzobi

Description

@alexzobi

code:

<Markdown>"7\. This is a random markdown item that looks like a list but I don't want it to be a list"</Markdown>

expected behavior:

7. This is a random markdown item that looks like a list but I don't want it to be a list

actual behavior (still a list item):

1 This is a random markdown item that looks like a list but I don't want it to be a list

according to CommonMark docs, the period after the "." should remain, but here it is removed. If I add an additional period after, the result is this:

7... This is a random markdown item that looks like a list but I don't want it to be a list

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