1
0
mirror of https://github.com/zu1k/nali.git synced 2025-02-02 10:22:41 +08:00

fix entity parse

This commit is contained in:
zu1k 2021-08-03 08:33:26 +08:00
parent 644df4c729
commit a6a8d2945b

View File

@ -60,7 +60,7 @@ func ParseLine(line string) Entities {
es = append(es, &Entity{
Loc: []int{idx, total},
Type: TypePlain,
Text: line,
Text: line[idx:total],
})
}