Turns out the issue was our excerpt parser which was trying to be too clever with <details>
.
I decided it doesn’t quite make sense to have those in the excerpt and instead replaced the whole content of the <details>
block with “▶ summary
” (“summary” being what’s written as the summary of the details block), like how they appear in the browser by default.