Hi, I am trying to output a pretty printed document, but it seems that the configuration is being ignored
doc := '<root> <tab/> <twoSpaces/> <fourSpaces/> </root>' parseXML. String << [ :stream | doc printOn: stream beforeWritingDo: [ :writer | writer enablePrettyPrinting; enablePlatformSpecificLineBreak. writer formatter indentString: ' '. ] ] produces "'<root> <tab/> <twoSpaces/> <fourSpaces/> </root>'" I thought that maybe #preservesIgnorableWhitespace: has something to do with it, but whether it is true or false, the output is not pretty printed (not to mention, that pretty printing should ignore any preserved whitespaces anyway). Is this a bug? Should I print it in a different way? Thanks, Peter