-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
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
Use formatted_body to parse markdown #133
Comments
This fixes cinnyapp#133 by using the `formatted_body` field, like the spec requires. Additionally, this solves discrepancies in rendering text vs. markdown messages. TODO: - [ ] check `<img>` tags work (e.g. custom emoticons) Note: This does not handle translating `<a>` elements with matrix.to URLs to their "correct" mention types. A future PR should handle this. → https://spec.matrix.org/unstable/client-server-api/#user-room-and-group-mentions
This fixes cinnyapp#133 by using the `formatted_body` field, like the spec requires. Additionally, this solves minor discrepancies in rendering text vs. markdown messages. Note: This does not handle translating `<a>` elements with matrix.to URLs to their "correct" mention types. A future PR should handle this. → https://spec.matrix.org/unstable/client-server-api/#user-room-and-group-mentions
This fixes cinnyapp#133 by using the `formatted_body` field, like the spec requires. Additionally, this solves minor discrepancies in rendering text vs. markdown messages. Note: This does not handle translating `<a>` elements with matrix.to URLs to their "correct" mention types. A future PR should handle this. → https://spec.matrix.org/unstable/client-server-api/#user-room-and-group-mentions
That will also allow displaying links, colored text and such :D |
It does; I think it makes custom emoticons work as the receiving end too if I'm not mistaken
It changes nothing about sending anything fancy with the current state. I still need to fix at least one issue I've observed, but I've been dogfooding the WIP work fo over a week Huh... just tested against element and the issue seems to be on the sending side of things. I'll have to investigate, but that means I still haven't seen an issue. |
This fixes cinnyapp#133 by using the `formatted_body` field, like the spec requires. Additionally, this solves minor discrepancies in rendering text vs. markdown messages. Note: This does not handle translating `<a>` elements with matrix.to URLs to their "correct" mention types. A future PR should handle this. → https://spec.matrix.org/unstable/client-server-api/#user-room-and-group-mentions
, #19 Signed-off-by: Ajay Bura <[email protected]>
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.5.1 to 3.6.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v3.5.1...v3.6.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@tulir:maunium.net
formatting: don't parse
body
as markdown, use the html informatted_body
(https://matrix.org/docs/spec/client_server/r0.6.1#m-room-message-msgtypes)The text was updated successfully, but these errors were encountered: