Improper formatting of event.content.body of replies
Right now app is sending replies in with following format:
"body": "> <@afranke:matrix.org> Heng Ye: I can change it to\n\n> `matrix:` URI scheme support\n\nif that works for you.\n\nSure thanks"
But if reply the same msg using Element web, it will send:
"body": "> <@afranke:matrix.org> Heng Ye: I can change it to\n> \n> > `matrix:` URI scheme support\n> \n> if that works for you.\n\nSure thanks",
The ideal solution will be to have all the \n
in Heng Ye: I can change it to\n\n> `matrix:` URI scheme support\n\nif that works for you.
replaced by \n>
so that it sends replies in same format as Element web.
The problem is that if \n is not properly replaced then clients that depends upon body to parse replies will have broken format.
For the clients that use formatted body, it should also be changed accordingly.
Edited by Ajay Bura