Incorrect rendering on GitHub of <details> HTML tags inside Jupyter notebooks


I am using HTML details tags in Jupyter notebooks; they are rendered fine in JupyterLab but rendered incorrectly on GitHub.

Please see an example here: Rendering of `<details> HTML tag` on Github · GitHub

Does anyone know (a) why this happens on GitHub and (b) if there is a fix for this?

Thank you for your time.


1 Like