Skip to content

SSE Event Truncation with Newlines in HTML #21

@alekseysotnikov

Description

@alekseysotnikov

When HTML content contains newline characters (\n), the SSE event gets prematurely terminated, causing content truncation in Datastar's patch-elements events.

Root Cause: format-datastar-fragment doesn't escape/handle newlines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions