Skip to content

Code spans should escape inner opening curly braces #14

@Aldaviva

Description

@Aldaviva
Markdown input Expected Confluence output Actual Confluence output
`{hello} {world}` {{\{hello} \{world}}} {{{hello} {world}}}

When the input Markdown contains { in a code span, the text is wrapped in {{ }}, but Confluence also expects the inner { to be escaped with \. This produces a warning when inserted into Confluence:

{{
Unknown macro: {hello}
Unknown macro: {world}
}}

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