Forum Discussion
__arik__
Jan 03, 2022Copper Contributor
TextBlock space trimming
Hi,
Is there a way to disable space trimming.
For example:
The text block:
{ "type": "TextBlock", "text": "Text with many spaces ", "size": "large" }
Will appear as ""Text with many spaces"
I would like to preserve the original text.
Is this possible?
- Meghana-MSFT
Microsoft
__arik__ - Using and &emsp should give single space and tab space respectively. But it is not rendering properly and not adding spaces. We have a bug raised for it already. We will update you on the same.
Thanks,
Meghana
--------------------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- Meghana-MSFT
Microsoft
We got an update from the engineering team saying, Teams don't support any free html content by design, so " " rendering as plain text is expected.
- Sayali-MSFT
Microsoft
__arik__ -We are looking into this I will get back to you soon.