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

fix entity parse

This commit is contained in:
zu1k 2021-08-03 08:33:26 +08:00
parent fa2bab49c7
commit 2d99679810

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],
})
}