mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-22 14:14:36 +00:00
[dev] note about strings with spaces being a potential problem with pretty printer; they arent re-parse friendly at the moment
This commit is contained in:
parent
a18691f229
commit
8c5fa157c7
@ -114,7 +114,7 @@ function stringx.pretty(input, indent, after)
|
||||
for k, v in pairs(input) do
|
||||
if not seen[k] then
|
||||
--encapsulate anything that's not a string
|
||||
--todo: also keywords
|
||||
--todo: also keywords and strings with spaces
|
||||
if type(k) ~= "string" then
|
||||
k = "[" .. tostring(k) .. "]"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user