-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
v2issues that would be fixed in v2 onlyissues that would be fixed in v2 only
Description
if i have a block like this:
set_by_lua_block $file_name {
local t = ngx.var.uri
local query = string.find(t, "?", 1)
if query ~= nil then
t = string.sub(t, 1, query-1)
end
return t;
}then the code gonginx.DumpBlock(conf.Block, gonginx.IndentStyle) will dump this result:
set_by_lua_block {
local t = ngx.var.uri local query = string.find(t, "?" , 1) if query ~= nil then t = string.sub(t, 1, query-1) end return t;
}it's worse when dump it several times @tufanbarisyildirim
Originally posted by @FeiYing9 in #20 (comment)
Metadata
Metadata
Assignees
Labels
v2issues that would be fixed in v2 onlyissues that would be fixed in v2 only