We’ve had this bug since 18th October. If you had only 1 link in your post it would work fine. If you had multiple links, it would reset anything after the first one whenever the post was edited or rebaked.
https://github.com/discourse/discourse/pull/6733
I don’t think the other topic is related, but I’ll take a look at that as well.