Text lost in copy/paste operation if starts with 4 spaces

WHAT IS THE BUG

When text is copy/pasted to Anytype, if the line starts with 4 spaces (and a blank line above it), text is not pasted - it is ignored.

HOW TO REPRODUCE IT

This to copy/paste this text to Anytype (copy it as text - for example from notepad/notepad++, not a “code block”):

this line will be pasted
    this has 4 spaces and also will be pasted

    this will not be pasted, because there is a blank line and this line starts with 4 spaces
    this will also be lost during copy/paste
   
this will be pasted normally
same as this one, etc..

Result in Anytype:

this line will be pasted
this has 4 spaces and will also be pasted
this will be pasted normally
same as this one, etc..

THE EXPECTED BEHAVIOR

  • I would expect all lines to be pasted
  • I would expect lines be pasted as copied - with extra spaces at the beginning…

ADDITIONAL CONTEXT

On Mac (Intel, Ventura), all the text pastes but the leading blanks are lost.

SYSTEM INFORMATION

Windows, Anytype 033.3

On Mac (Intel, Ventura), all the text pastes but the leading blanks are lost.

1 Like

This report has been added to our issue tracker and received by the Development Team.