fix voor zinnen aan elkaar
This commit is contained in:
@@ -226,7 +226,7 @@ func doArticle(filename string, url string, timestamp time.Time, needUpdate bool
|
||||
// text bevat kopjes zonder punt aan het eind
|
||||
lines := strings.Split(doc.Text, "\n")
|
||||
for i, line := range lines {
|
||||
lines[i] = u.AddEnd(u.FixSpace(line))
|
||||
lines[i] = u.AddEnd(u.FixSpace(line, true))
|
||||
}
|
||||
text := strings.Join(lines, "") + "\n"
|
||||
|
||||
@@ -240,9 +240,7 @@ func doArticle(filename string, url string, timestamp time.Time, needUpdate bool
|
||||
if strings.HasPrefix(t, "br_") {
|
||||
continue
|
||||
}
|
||||
if strings.HasPrefix(t, "tr_") {
|
||||
t = t[3:]
|
||||
}
|
||||
t = strings.TrimPrefix(t, "tr_")
|
||||
p(fmt.Fprintf(fp, "##META text tag = %s\n", t))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user