Skip to content

CRLF is treated as two line breaks #555

@conor-93

Description

@conor-93

CRLF is treated as two line breaks, though it should be treated as one.

Using examples/vello_cpu_render/src/main.rs:

let text = String::from(
        "Start\nSome text here. Let's make it a bit longer so that line wrapping kicks in 😊. And also some اللغة العربية arabic text.\r\nThis is underlining pq and strikethrough t",
    );
Image
let text = String::from(
        "Start\r\nSome text here. Let's make it a bit longer so that line wrapping kicks in 😊. And also some اللغة العربية arabic text.\r\nThis is underlining pq and strikethrough t",
    );
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions