Skip to content

Equals sign in code block breaks it #3208

@charpeni

Description

@charpeni

Marked version:
0.12.0

Describe the bug
Having an equals sign in a code block breaks the markdown, but only if a blank line doesn't precede the code block.

Sorry, I can't really put up good examples because code blocks are being formatted as markdown.

To Reproduce
📚 Marked Demo

Screenshot 2024-03-01 at 2 11 58 PM

Expected behavior
📚 CommonMark Demo

Screenshot 2024-03-01 at 2 11 44 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    L2 - annoyingSimilar to L1 - broken but there is a known workaround available for the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions