tags; .De -> . De
This commit is contained in:
@@ -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 == "" {
|
||||
|
||||
Reference in New Issue
Block a user