Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

bold + comment ends up creating incorrect typst code #161

@Doublonmousse

Description

@Doublonmousse

[x] I have tested with the master version of typstfmt and not just typst-lsp

Describe the bug
Formatting with comments and bold end up creating *// symbols that are not correct typst code

To Reproduce
Format the following file

start *test and
 going on 
and on*
//comment and on

and obtain

start *test and going on and on*//comment and on

that won't compile because of the *//

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