mirror of
https://github.com/zu1k/nali.git
synced 2025-02-09 05:42:43 +08:00
fix entity parse
This commit is contained in:
parent
644df4c729
commit
a6a8d2945b
@ -60,7 +60,7 @@ func ParseLine(line string) Entities {
|
|||||||
es = append(es, &Entity{
|
es = append(es, &Entity{
|
||||||
Loc: []int{idx, total},
|
Loc: []int{idx, total},
|
||||||
Type: TypePlain,
|
Type: TypePlain,
|
||||||
Text: line,
|
Text: line[idx:total],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user