Skip to content

Code block in a <summary> overflows the post bounds #1249

@cellio

Description

@cellio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: frontendChanges to front-end codecomplexity: unassessedNeeds further developer investigation before complexity/feasibility can be determined.priority: low

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions