]> git.cameronkatri.com Git - cgit.git/blob - tests/filters/dump.lua
t0111: Additions and fixes
[cgit.git] / tests / filters / dump.lua
1 function filter_open(...)
2 buffer = ""
3 for i = 1, select("#", ...) do
4 buffer = buffer .. select(i, ...) .. " "
5 end
6 end
7
8 function filter_close()
9 html(buffer)
10 return 0
11 end
12
13 function filter_write(str)
14 buffer = buffer .. string.upper(str)
15 end
16
17