Discourse doesn't follow the CommonMark spec for HTML <pre> tags inside code spans

This is     pre-formatted text.

This issue does not occur when the document contains pre-formatted text before the code span containing <pre>, or when the document does not contain pre-formatted text at all.