BBCode formatting issue when migrating from Vanilla to Discourse

You’d need to show the text that DOES NOT work fine from the original post you showed. When you do, put ``` on a line before and after the raw text of the post that is not displaying as you wish.