Hello,
Welcome to our Microsoft Q&A platform!
Thank you for reporting this here! We've reported this issue via our internal channel. It's glad to hear that you've found a way to overcome it and share it here.
Besides, if you want to insert the xaml code, you could try to post it as a normal text.
Thanks!