[Standards] Proposed XMPP Extension: Styling

Peter Saint-Andre stpeter at stpeter.im
Mon Nov 6 21:25:52 UTC 2017


On 11/6/17 2:25 PM, Sam Whited wrote:
> On Mon, Nov 6, 2017, at 14:07, Peter Saint-Andre wrote:
>> Why not just use Markdown (or a subset thereof)?
> 
> There were two main reasons why I decided not to use actual Markdown:
> 
> The first is that, as Link Mauve pointed out, this has most of the same
> drawbacks as XHTML-IM (the markdown libraries pass through arbitrary
> HTML). Although, in retrospect the body is escaped so this isn't as
> likely as XHTML-IM to be a problem unless you unescape and them dump it
> into the DOM (which is a problem regardless of what formatting spec you
> use).
> 
> The main reason though is that this is effectively what Whatsapp and
> Slack do (they use more or less the same formatting), and I suspect that
> between the two enough people are used to the styling to make it worth
> immitating.

Thanks for the explanation! :-)

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 873 bytes
Desc: OpenPGP digital signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20171106/3861f416/attachment.sig>


More information about the Standards mailing list