off by one error for lines with parametrized values

This commit is contained in:
gutmet 2022-03-27 23:16:38 +02:00
parent 8a5f3db23d
commit e3c3b0e6f9

View File

@ -31,9 +31,9 @@ func vCardValue(line string) string {
return ""
}
if end < start {
end = len(line) - 1
end = len(line)
}
return line[start+1 : end+1]
return line[start+1 : end]
}
type Contact struct {