qpixel
qpixel copied to clipboard
Code block in a <summary> overflows the post bounds
meta:288974
If someone uses a code block as the summary text in a <summary>/<details> block, the text can overflow the bounds of the post body:
See the linked post for more examples.
We don't need to support such uses of these HTML tags, but we should prevent the overflow. I don't care if we use horizontal scrolling, truncate with "...", or something else I haven't thought of, but let's enforce the boundary somehow.