Skip to content

Serialization Parameters: Indentation, Whitespace, Newlines #1234

Description

@ChristianGruen

Summary of #358 and #101:

Parameter Description Values
indent-unit Character sequence to use for indentation. Pattern: (\\t| +)
Examples: ("\t", " ", " ")
indent-attributes Indent multiple attributes
(similar: HTML Tidy’s configuration option).
Should be used with spaces as indentation characters.
"yes", "no"
line-ending Newline character. "\r\n", "\n", "\r", …

If no parameter is specified, the default of the implementation is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementA change or improvement to an existing featurePR PendingA PR has been raised to resolve this issuePRG-easyCategorized as "easy" at the Prague f2f, 2024PRG-optionalCategorized as "optional for 4.0" at the Prague f2f, 2024SerializationAn issue related to the Serialization spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions