MathJax Not Rendering Inside <details> Without Newline After <summary>

Yeah this is not a bug, its a limitation/design of CommonMark

Mixing HTML and Markdown has some very specific and somewhat surprising rules.