Unnecessary markup in `formatted_body` and markdown removed from `body`
Sending *Hello* **World**
from Riot results in:
"body": "*Hello* **World**",
"formatted_body": "<em>Hello</em> <strong>World</strong>"
With Fractal we get:
"body": "Hello World\n",
"formatted_body": "<p><em>Hello</em> <strong>World</strong></p>\n"
There are a few issues here:
-
Markdown messages contain more markup than necessary -
Markdown should not get removed from body (the point of markdown is that it provides formatting when rich text is not available) -
Extraneous \n
at the end of the message in both fields
Edited by Daniel Garcia Moreno