Open ChristianGruen opened 5 months ago
What are the intended semantics of "line-ending"? Is this to be used only for line-endings generated in the course of indentation, or will it substitute for line ending characters found in the data being serialized?
will it substitute for line ending characters found in the data being serialized?
I imagine this would be what most users would expect.
Summary of #358 and #101:
indent-unit
(\\t\| +)
Examples: (
"\t"
," "
," "
)indent-attributes
(similar: HTML Tidy’s configuration option).
Should be used with spaces as indentation characters.
"yes"
,"no"
line-ending
"\r\n"
,"\n"
,"\r"
, …If no parameter is specified, the default of the implementation is used.