When I paste code into the Code snippet format block, it retains the leading white space for all of the lines of code. When I submit the message, it removes the leading white space for the very first line only. I think it should remove the same white space from all of the lines.
@carlinq - Thanks for reaching out us. We are the developer support team for Microsoft teams focused on helping developers resolve their issues. For issues related to teams product, please reach out to the product support channels for Microsoft Teams.