mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-26 09:03:46 +01:00
string conversion bug fixed
This commit is contained in:
parent
7bdd7fcf3f
commit
9e439473cb
@ -28,6 +28,7 @@ end
|
|||||||
|
|
||||||
-- '#' is used as placeholder for rule numbers and has to be escaped
|
-- '#' is used as placeholder for rule numbers and has to be escaped
|
||||||
function smartline.escape(s)
|
function smartline.escape(s)
|
||||||
|
s = tostring(s)
|
||||||
return s:gsub("#", '"..string.char(35).."')
|
return s:gsub("#", '"..string.char(35).."')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user