Unexpected dashes in python code blocks

After the last update, a problem arose: when editing Python code, after one indent (Tab) and a line break (Enter), a dash (-) appears at the beginning of a new line, which must be deleted manually.

The problem is solved either by erasing the dash or using the key combination Shift + Enter.

I assume that the problem is related to the fact that the code blocks began to be perceived as plain text, and it became possible to create bulleted lists, which is not the expected behavior.

3 Likes

It’s not just Python code, I’m experiencing the same with TypeScript code. And it has the same behavior after I change the highlight language to something else, so I suspect the code block is affected regardless of language.

2 Likes

Please open a bug report and follow the bug report template. Thanks!

I’m seeing this same behavior in block quotes as well, though in only specific sentence structures. I’m unable to easily recreate the behavior.

1 Like