prose-im / prose-app-web

Prose Web application. XMPP client for team messaging.
https://prose.org/downloads
Mozilla Public License 2.0
19 stars 2 forks source link

Prosody team says we should implement XHTML-IM instead of sending Markdown #114

Open RemiBardon opened 1 week ago

RemiBardon commented 1 week ago

Screenshot 2024-06-19 at 11 42 38

@Link Mauve, XEP-0071: XHTML-IM is deprecated. Was it superseded?

Screenshot 2024-06-19 at 11 43 27

NOTE: I'm creating the issue here because it's about the client, even though it might make sense to put it into prose-core-client too. Feel free to move it.

poVoq commented 1 week ago

This is debatable. Sending plain Markdown like Prose currently does, degrades better and also works much better via bridges to other major team-chat platforms that all support plain Markdown (except Matrix which uses a HTML mess).

RemiBardon commented 1 week ago

@poVoq Fair point.

What do you mean by "does degrades better"?

poVoq commented 1 week ago

Markdown text in clients not implementing a markdown parser is still pretty readable and the overall intend is mostly understandable.

AFAIK xHTML-im does support a plaintext fallback, but then any formatting is lost completely if a client does not implement a HTML parser.

I think the compromise XEP is this: https://xmpp.org/extensions/xep-0481.html

RemiBardon commented 1 week ago

Well it's exactly what's being said in Prose's #general MUC 😌