tags; .De -> . De

This commit is contained in:
Peter Kleiweg
2026-05-29 12:22:57 +02:00
parent 66581d4e98
commit ca4e7af8fa
21 changed files with 123 additions and 22 deletions

View File

@@ -236,7 +236,14 @@ func doArticle(filename string, url string, timestamp time.Time, needUpdate bool
p(fmt.Fprintln(fp, "##META text tag ="))
} else {
for _, tag := range doc.Tags {
p(fmt.Fprintf(fp, "##META text tag = %s\n", strings.ToLower(u.FixSpace(tag))))
t := strings.ToLower(u.FixSpace(tag))
if strings.HasPrefix(t, "br_") {
continue
}
if strings.HasPrefix(t, "tr_") {
t = t[3:]
}
p(fmt.Fprintf(fp, "##META text tag = %s\n", t))
}
}
if doc.Cat == "" {