Skip to content

precedingWhitespace inconsistency #130

@ppalaga

Description

@ppalaga

precedingWhitespace is an attribute of Node, but the parser uses it only for Elements. I wonder whether it is intentional? Should it not also be set on Comments, where the parser currently prepends a Text node? (Not sure what is the behavior on ProcessingInstruction and Document).

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