Skip to content

Handling whitespace in text content #4

@tspivey

Description

@tspivey

bk currently doesn't handle whitespace properly.
The default behaviour in browsers is to collapse spaces in some tags (e.g. <p>). As an example, if you have:

<p>This is a
test.</p>

You should end up with This is a test. on output.
Instead, the embedded newline is left in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions