This is a tricky problem I had before. Might even be the one @rlkoshak and I were talking about the other day: One of your code fences had trailing whitespaces, which seems to bring Discourse out of balance. Example with whitespaces as °
:
```°°°°
some code
```