vrt.go: foutmeldingen met newline

This commit is contained in:
Peter Kleiweg
2026-03-27 13:00:55 +01:00
parent d2e866720c
commit 829a23f446

View File

@@ -262,7 +262,7 @@ func doArticle(filename string, url string, title string, tags []string, labels
found = true
}
if !found {
fouten = append(fouten, fmt.Sprintf("no heading: %s", url))
fouten = append(fouten, fmt.Sprintf("no heading: %s\n", url))
_ = w(fmt.Errorf("no heading: %s", url))
}
@@ -277,7 +277,7 @@ func doArticle(filename string, url string, title string, tags []string, labels
found = true
}
if !found {
fouten = append(fouten, fmt.Sprintf("no text: %s", url))
fouten = append(fouten, fmt.Sprintf("no text: %s\n", url))
_ = w(fmt.Errorf("no text: %s", url))
}