prose-im / prose-app-web

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

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

Closed RemiBardon closed 4 months ago

RemiBardon commented 5 months 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 5 months 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 5 months ago

@poVoq Fair point.

What do you mean by "does degrades better"?

poVoq commented 5 months 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 5 months ago

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

valeriansaliou commented 4 months ago

Closing this one for now, since we opted for XEP-0393 and XEP-0481.