This commit is contained in:
Manuel Simon Hirsig
2016-08-02 02:31:33 +02:00
parent 7199513499
commit e7adc5ed9b
2 changed files with 8 additions and 6 deletions
+7 -5
View File
@@ -541,11 +541,13 @@ function public.indented_post_query_string(components)
for _, component in components do
if str ~= '' then
str = str..(no_line_break and ' ' or '|n')
end
for _=1,getn(stack) do
str = str..' '
if no_line_break then
str = str..' '
else
str = str..'|n'
for _=1,getn(stack) do
str = str..' '
end
end
if component[1] == 'operator' and component[2] then