Minor optimisation to parser
This commit is contained in:
parent
7f4ad62c10
commit
e071d5514b
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ local function parsetext(callback, text, number)
|
|||
break
|
||||
end
|
||||
end
|
||||
callback("text", text:sub(start))
|
||||
callback("text", (start == 1) and text or text:sub(start))
|
||||
end
|
||||
|
||||
--- @param callback callback
|
||||
|
|
Loading…
Reference in a new issue