diff --git a/main.go b/main.go index 775ba62..4a2da05 100644 --- a/main.go +++ b/main.go @@ -596,13 +596,13 @@ func GenerateChapterMetadata(volume jnc.VolumeAugmented, serie jnc.SerieAugmente comicInfo.Language = language comicInfo.Format = "Comic" // JNC reports this as type in the epub file - return xml.Marshal(comicInfo) + return xml.MarshalIndent(comicInfo, " ", " ") } type ComicInfo struct { XMLName string `xml:"ComicInfo"` - XMLNS string `xml:"xmlns,attr"` - XSI string `xml:"xsi,attr"` + XMLNS string `xml:"xmlns:xsi,attr"` + XSI string `xml:"xsi:noNamespaceSchemaLocation,attr"` Series string `xml:"Series"` Title string `xml:"Title"` Volume int `xml:"Volume"`