[remark-embedder] Twitter embed with double underscore doesn't work
Closed this issue · 6 comments
When converting all of @CompuIves' Medium posts over to @codesandbox' blog, I copy-pasted the remark-embedder
. (see codesandbox/codesandbox-client#2011)
When looking at all the pages I came across a bug with the Twitter embed when the username contains 2 underscores (_
).
When I try to embed the following Tweet, I just see the link with an italic d
instead of the Tweet card itself:
https://twitter.com/brian_d_vaughn/status/901488766581227520
An example can be seen at https://pr2011.build.csb.dev/post/creating-a-parallel-offline-extensible-browser-based-bundler-for-codesandbox
Dang. Sounds like a bug in MDX I think... Could you open a bug there?
Considering there's not much I can do here, I'll go ahead and close this one.
@kentcdodds @codesandbox isn't using MDX for it's blog/documentation, it's using gatsby-transformer-remark
instead
Could be a remark bug then because MDX is built on top of remark.
Actually, based on this I'm pretty sure it's a plugin that's causing this issue because remark itself doesn't seem to have this problem.
Ok, I'll dig in really quick and see if it's my plugin first and let you know. Unfortunately I don't have the bandwidth to dig much deeper though.
Hmmm no prob, will take a closer look at it myself then 🙂
Much appreciate the help tho! 👊