grote reorganisatie:
- HLN, NOS, NU, VRT: per week -> per dag - yyyy-ww -> yyyy.ww - yyyy* -> yyyy/yyyy* etc
This commit is contained in:
@@ -17,8 +17,11 @@ var (
|
||||
|
||||
func AddEnd(s string) string {
|
||||
s = strings.TrimSpace(s)
|
||||
if s == "" || reEOL.MatchString(s) {
|
||||
return s
|
||||
if s == "" {
|
||||
return ""
|
||||
}
|
||||
if reEOL.MatchString(s) {
|
||||
return s + "\n"
|
||||
}
|
||||
return s + ".\n"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user