Closed danmarshall closed 6 years ago
Do other chat clients allow any HTML at all in their markdown?
(Here I'm ignoring the "xml" message format, which supports just a handful of whitelisted tags.)
@billba no, they don't.
Then rather than sanitize, I vote we strip HTML out entirely. I think that's what we did before.
I agree personally, we are circulating the idea internally.
HTML support in markdown varies widely from client to client. GitHub has pretty rich support for it. Telegram supports basic font formatting tags; Skype too.
Oh okay, so what Dan said is not true. It is supported in some clients. That changes my opinion.
DAN WHY MUST YOU LIE SO
@reyesrico - can you create a matrix of which channels support HTML?
Channel | Markdown Support | HTML in Markdown Support |
---|---|---|
Bing | Yes | No |
Cortana | Yes | No |
No | - | |
GroupMe | No | - |
Kik | No | - |
Slack | Partial | No |
Telegram | Yes | No |
Twillio (Web) | No | - |
No | - | |
Yes | Yes | |
Microsoft Teams | Partial | Partial |
Skype | Partial | Partial |
Skype for Business | Partial | Partial |
WebChat | Yes | No |
@danmarshall What's the latest?
@reyesrico I'm having trouble parsing this table. I think the actual question we are asking is "For each channel that supports Markdown, does it render embedded HTML in Markdown?"
@billba - I see. Yes I can just re-order the columns. And then put n/a in the HTML cell if markdown isn't supported on that channel.
Table has been updated.
Much clearer, thanks!
Hello, how would I render a table then inside a WebChat? Is it possible? I previously used to render tables through my bot
HTML in iframe webchat does not render.I have used HTML tags like table tags to show data in bot and now the output looks like a mess. What is the solution for this?
Fixed in v4
A customer reported that a message containing HTML tags was being rendered: