mirror of
https://git.zx2c4.com/cgit/
synced 2024-11-13 19:12:05 +00:00
3741254a69
* Rename the capitalize-* filters to dump.* since they also dump the arguments. * Add full argument validation to the email filters. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
18 lines
248 B
Lua
18 lines
248 B
Lua
function filter_open(...)
|
|
buffer = ""
|
|
for i = 1, select("#", ...) do
|
|
buffer = buffer .. select(i, ...) .. " "
|
|
end
|
|
end
|
|
|
|
function filter_close()
|
|
html(buffer)
|
|
return 0
|
|
end
|
|
|
|
function filter_write(str)
|
|
buffer = buffer .. string.upper(str)
|
|
end
|
|
|
|
|