Past Python code make it lost its formatting


When I create a block code and past python code inside, almost all spaces disappear.
It make it useless to use dynalist for coding.
Have you some tips ?
I’m thinking about leaving dynalist.
Thank you

Example, you can see these is a multi-blocks lines, but almost all spaces have been erased:


assuming past=paste

I couldn’t reproduce the issue. The 4 spaces are preserved in markdown and rendered.