Skip to content

Whitespace is ignored #10

Closed
Closed
@denis-sokolov

Description

@denis-sokolov

Empty text nodes are explicitly discarded. However, that is clearly wrong in some cases. Perhaps we should only collapse whitespace, but not discard it?

Before parsing:
<p><span>Hello,</span> <span>world!</span></p>
After parsing:
<p><span>Hello,</span><span>world!</span></p>

#9 provides an opt-in solution, but perhaps this should not be opt-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