Skip to content

Extra semicolons in mid-word nested Typst emph/strong formatting #11196

@ypaul21

Description

@ypaul21

Hi!

When you have nested formatting in markdown without spaces after (like *He**ll**o*), pandoc generates invalid Typst syntax with extra semicolons where there shouldn't be any.

Example:

echo "*He**ll**o*" | pandoc -t typst

Actual output:

#emph[He#strong[ll];o]

Should be:

#emph[He#strong[ll]o]

The same happens when we nest emph within strong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions