off by one error for lines with parametrized values
This commit is contained in:
parent
8a5f3db23d
commit
e3c3b0e6f9
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user