qpixel icon indicating copy to clipboard operation
qpixel copied to clipboard

Code block in a <summary> overflows the post bounds

Open cellio opened this issue 2 years ago • 0 comments

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:

screenshot

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.

cellio avatar Nov 26 '23 21:11 cellio