Onebox Twitter embedding failing when URL contains valid Markdown

It’s quite a rare case, but if the URL of a link to Twitter contains vaild Markdown syntax, this breaks the embedding.

For example https://twitter.com/_TomCross_/status/1030208369116827652 won’t be embedded.

https://twitter.com/TomCross/status/1030208369116827652

To have a correct embedding I need to add an escape \ character in front of the first _

2 Likes

Possibly a duplicate of this one:

By the way, this is not really about embedding, the link itself does not work, as you demonstrated.

Sure. I was wondering whether the URL could be somehow sanitized in the embedding code…