On Thu May 28 17:38:31 2026 +0000, Nikolay Sivov wrote:
I know that 'newline' thing is definitely broken currently. For instance comments and most likely PIs should not always append a newline - only in epilog/prolog parts. When you are in document element there should be no extra newlines. So I'd rather we start with more tests that show formatting issues and maybe this newline flag will have to be replaced by something else. The only cases that are interesting is writing before and after root element, and then of course in element with text nodes and without. All of that ran twice with different indent modes. I have added an indentation test with document declaration.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11016#note_141842