25 Oct
2024
25 Oct
'24
10:42 p.m.
On Fri Oct 25 21:44:09 2024 +0000, Fabian Maurer wrote:
I guess setting `xmlTreeIndentString = "\t";` works, but I'm not sure if that's the only places where it's need. Also, not sure what you mean by "create and configure a save context in doparse", it is automatically setup in xmlNodeDumpOutput, and setting xmlTreeIndentString is enough for that to work. You're right, I mixed up the structs. I meant the global state, not the save context.
And yes, it needs to be set somewhere. I don't think doparse is correct, though; I think the correct places are domdoc_save and domdoc_get_xml. Hopefully that list won't grow. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6735#note_86147