On Thu May 28 17:27:46 2026 +0000, Piotr Caban wrote:
I've pushed a version that adds new test instead of modifying existing one. 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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11016#note_141536