Why Teams cannot keep blank spaces

%3CLINGO-SUB%20id%3D%22lingo-sub-3378232%22%20slang%3D%22en-US%22%3EWhy%20Teams%20cannot%20keep%20blank%20spaces%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3378232%22%20slang%3D%22en-US%22%3E%3CPRE%3E%20%20%20%20%20%20%20%20addr%20%20%20%20src%20%20%20%20%20cmp%3C%2FPRE%3E%3CP%3E%26nbsp%3BJuts%20a%20plain%20text%20string%20as%20above%2C%20copied%20from%20notepad.%20The%20spaces%20are%20always%20stripped%2C%20even%20using%20%22code%20snippet%22%20or%20uisng%20%22Monospaced%22.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3378232%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EConversations%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3378419%22%20slang%3D%22en-US%22%3ERe%3A%20Why%20Teams%20cannot%20keep%20blank%20spaces%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3378419%22%20slang%3D%22en-US%22%3EIn%20what%20scenario%3F%20I%20have%20no%20issues%20using%20copy%2Fpaste%20to%20Teams%20chats%20etc.%20while%20keeping%20the%20spaces.%3CBR%20%2F%3E%3CBR%20%2F%3ETry%20removing%20the%20cache%20to%20%22reset%22%20your%20client%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Ftroubleshoot%2Fteams-administration%2Fclear-teams-cache%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Ftroubleshoot%2Fteams-administration%2Fclear-teams-cache%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3378995%22%20slang%3D%22en-US%22%3ERe%3A%20Why%20Teams%20cannot%20keep%20blank%20spaces%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3378995%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F588790%22%20target%3D%22_blank%22%3E%40ChristianJBergstrom%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20suggestion%2C%20but%20it%20does%20not%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EContent%20in%20notedpad%20(with%20%22Show%20Whitespaces%22)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22YueZhuo_0-1652693764806.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22YueZhuo_0-1652693764806.png%22%20style%3D%22width%3A%20323px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371817iA8C56AC088818CC3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22YueZhuo_0-1652693764806.png%22%20alt%3D%22YueZhuo_0-1652693764806.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EContent%20in%20Teams%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22YueZhuo_1-1652693891775.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22YueZhuo_1-1652693891775.png%22%20style%3D%22width%3A%20383px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371818iEEC7D411E395B3C4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22YueZhuo_1-1652693891775.png%22%20alt%3D%22YueZhuo_1-1652693891775.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20%22Code%20Snippet%22%20window%2C%20it%20is%20good%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22YueZhuo_2-1652693958971.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22YueZhuo_2-1652693958971.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371819iAF895C823213609F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22YueZhuo_2-1652693958971.png%22%20alt%3D%22YueZhuo_2-1652693958971.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20returning%20back%20to%20chat%20window%2C%20the%20blank%20spaces%20are%20stripped%20again%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22YueZhuo_3-1652694030538.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22YueZhuo_3-1652694030538.png%22%20style%3D%22width%3A%20382px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F371821i5BC20B3E35484700%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22YueZhuo_3-1652694030538.png%22%20alt%3D%22YueZhuo_3-1652694030538.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3439249%22%20slang%3D%22en-US%22%3ERe%3A%20Why%20Teams%20cannot%20keep%20blank%20spaces%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3439249%22%20slang%3D%22en-US%22%3EYes%2C%20seeing%20the%20same%20issue.%3CBR%20%2F%3E%3CBR%20%2F%3EVerison%3A%201.5.00.11163%20(64-bit).%20It%20was%20last%20updated%20on%205%2F12%2F2022.%3C%2FLINGO-BODY%3E
New Contributor
        addr    src     cmp

 Juts a plain text string as above, copied from notepad. The spaces are always stripped, even using "code snippet" or uisng "Monospaced".

3 Replies
In what scenario? I have no issues using copy/paste to Teams chats etc. while keeping the spaces.

Try removing the cache to "reset" your client https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-administration/clear-teams-cache

@ChristianJBergstrom 

Thanks for your suggestion, but it does not help.

 

Content in notedpad (with "Show Whitespaces")

YueZhuo_0-1652693764806.png

 

Content in Teams

YueZhuo_1-1652693891775.png

 

In the "Code Snippet" window, it is good

YueZhuo_2-1652693958971.png

 

But returning back to chat window, the blank spaces are stripped again

YueZhuo_3-1652694030538.png

 

 

 

 

 

 

Yes, seeing the same issue.

Verison: 1.5.00.11163 (64-bit). It was last updated on 5/12/2022.