Now prettier XML

This commit is contained in:
Geert Rademakes 2025-03-12 12:59:52 +01:00
parent 23fa46e223
commit 32823fd40d

View File

@ -220,7 +220,7 @@ export default function RekordboxReader() {
}); });
// Generate the XML content as a string // Generate the XML content as a string
const xmlContent = doc.end({ prettyPrint: true }); const xmlContent = doc.end({ pretty: true });
// Create a Blob from the XML content // Create a Blob from the XML content
const blob = new Blob([xmlContent], { type: "application/xml" }); const blob = new Blob([xmlContent], { type: "application/xml" });