We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sending data like
"text": "<pre><code>{\n \"another\": [\n \"contains\",\n \"a\",\n \"list\"\n ],\n \"payload\": \"testing\"\n}\n</code></pre>\n", "format": "html",
(yes that's pretty printed json as the body) results in (element view source)
"content": { "body": "{ \"another\": [\n \"contains\",\n \"a\",\n \"list\"\n ],\n \"payload\": \"testing\"\n}\n\n", "msgtype": "m.text", "format": "org.matrix.custom.html", "formatted_body": "<pre><code>{<br> \"another\": [\n \"contains\",\n \"a\",\n \"list\"\n ],\n \"payload\": \"testing\"\n}\n</code></pre>\n" },
noticably the first \n in the original message is dropped/converted.
\n
The text was updated successfully, but these errors were encountered:
I have worked around this in my downstream project, including some explanation of what goes wrong HarHarLinks/matrix-webhook-receiver@d26bd4c
Sorry, something went wrong.
No branches or pull requests
sending data like
(yes that's pretty printed json as the body)
results in (element view source)
noticably the first
\n
in the original message is dropped/converted.The text was updated successfully, but these errors were encountered: