update explicit formatting options to force same xml rendering
This commit is contained in:
@@ -63,6 +63,12 @@ function prettifyXml(xmlString, indent = 2) {
|
||||
collapseContent: false,
|
||||
lineSeparator: '\n',
|
||||
filter: () => true, // Keep all whitespace nodes
|
||||
attributeQuotes: 'double',
|
||||
forceSelfClosingEmptyTag: true,
|
||||
ignoredPaths: [], // Do not ignore any paths
|
||||
strictMode: false,
|
||||
throwOnFailure: false,
|
||||
whiteSpaceAtEndOfSelfclosingTag: false,
|
||||
});
|
||||
return formatted;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user