blob: aff3e5afeecf65c7055a6e3143634f026e4af0b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
local buffer = ""
function filter_open()
buffer = ""
end
function filter_write(s)
buffer = buffer .. s
end
function filter_close()
html("<table summary='blob content' class='blob'>\n")
html("<tr><td class='lines'><pre><code>")
html_txt(buffer)
html("</code></pre></td></tr></table>\n")
return 0
end
|