typstfmt icon indicating copy to clipboard operation
typstfmt copied to clipboard

bold + comment ends up creating incorrect typst code

Open Doublonmousse opened this issue 11 months ago • 2 comments

[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 *//

Doublonmousse avatar Mar 20 '24 12:03 Doublonmousse